Add reproducible browser and accessibility gates
This commit is contained in:
parent
4d31c441d0
commit
9ad8d27adf
1 changed files with 1887 additions and 103 deletions
21
web/playwright.config.ts
Normal file
21
web/playwright.config.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: 'test/browser',
|
||||
outputDir: 'test-results',
|
||||
timeout: 60_000,
|
||||
expect: { timeout: 10_000 },
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
reporter: [
|
||||
['list'],
|
||||
['html', { outputFolder: 'playwright-report', open: 'never' }]
|
||||
],
|
||||
use: {
|
||||
baseURL: process.env.NUTHATCH_BROWSER_BASE_URL,
|
||||
ignoreHTTPSErrors: true,
|
||||
trace: 'retain-on-failure',
|
||||
screenshot: 'only-on-failure',
|
||||
video: 'retain-on-failure'
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue