Add reproducible browser and accessibility gates

This commit is contained in:
ms2k 2026-07-20 05:02:08 +09:00
commit 9ad8d27adf

21
web/playwright.config.ts Normal file
View 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'
}
});