import { defineConfig, devices } from '@playwright/test' export default defineConfig({ testDir: './tests/e2e', fullyParallel: false, forbidOnly: !!process.env.CI, retries: 0, workers: 1, reporter: 'list', timeout: 60000, expect: { timeout: 10000 }, use: { baseURL: 'http://127.0.0.1:41733', trace: 'on-first-retry', screenshot: 'only-on-failure' }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] } } ], webServer: { command: 'npm run dev', url: 'http://127.0.0.1:41733', reuseExistingServer: true, timeout: 120000, stdout: 'pipe', stderr: 'pipe' } })