Files
Cleanuparr/e2e/playwright.config.ts
2026-03-12 22:12:20 +02:00

23 lines
492 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
globalSetup: './tests/global-setup.ts',
timeout: 60_000,
retries: 1,
workers: 1,
use: {
baseURL: 'http://localhost:5000',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
reporter: [['html', { open: 'never' }], ['list']],
});