2025-03-28 08:20:14 -07:00
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
|
|
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
|
|
|
testDir: './tests/e2e',
|
|
|
|
|
timeout: 60000,
|
|
|
|
|
expect: {
|
|
|
|
|
timeout: 30000
|
|
|
|
|
},
|
|
|
|
|
fullyParallel: false,
|
|
|
|
|
workers: 1,
|
|
|
|
|
reporter: [
|
|
|
|
|
['html'],
|
|
|
|
|
['list']
|
|
|
|
|
],
|
|
|
|
|
use: {
|
|
|
|
|
actionTimeout: 30000,
|
|
|
|
|
navigationTimeout: 30000,
|
|
|
|
|
trace: 'on-first-retry',
|
|
|
|
|
video: 'retain-on-failure',
|
|
|
|
|
screenshot: 'only-on-failure'
|
|
|
|
|
},
|
|
|
|
|
outputDir: 'test-results',
|
2026-01-26 16:51:49 +01:00
|
|
|
preserveOutput: 'always'
|
2025-03-28 08:20:14 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|