import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './tests/e2e', testMatch: '**/*.e2e.ts', testIgnore: '**/*.seeded.e2e.ts', timeout: 30_000, expect: { timeout: 5_000, }, fullyParallel: true, retries: 0, reporter: 'list', use: { baseURL: 'http://127.0.0.1:4173', trace: 'retain-on-failure', screenshot: 'only-on-failure', }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, ], webServer: { command: 'npm run build && npm run preview -- --host 127.0.0.1 --port 4173 --strictPort', url: 'http://127.0.0.1:4173', reuseExistingServer: true, timeout: 120_000, }, });