25 lines
460 B
JavaScript
25 lines
460 B
JavaScript
|
|
const { defineConfig, devices } = require('@playwright/test');
|
||
|
|
|
||
|
|
module.exports = defineConfig({
|
||
|
|
testDir: './tests',
|
||
|
|
timeout: 30000,
|
||
|
|
expect: {
|
||
|
|
timeout: 5000,
|
||
|
|
},
|
||
|
|
fullyParallel: true,
|
||
|
|
workers: 1,
|
||
|
|
retries: 1,
|
||
|
|
reporter: 'list',
|
||
|
|
use: {
|
||
|
|
baseURL: 'http://localhost:3000',
|
||
|
|
trace: 'on-first-retry',
|
||
|
|
video: 'on-first-retry',
|
||
|
|
},
|
||
|
|
projects: [
|
||
|
|
{
|
||
|
|
name: 'chromium',
|
||
|
|
use: { ...devices['Desktop Chromium'] },
|
||
|
|
},
|
||
|
|
],
|
||
|
|
});
|