Added Playwright E2E testing setup (#1893)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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',
|
||||
preserveOutput: 'failures-only'
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user