import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './e2e', timeout: 30000, expect: { timeout: 8000, }, fullyParallel: false, retries: 0, workers: 1, reporter: [['list']], use: { baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://127.0.0.1:8085', trace: 'retain-on-failure', screenshot: 'only-on-failure', video: 'off', }, webServer: { command: 'php -d display_errors=1 -S 127.0.0.1:8085 -t public dev-router.php', url: 'http://127.0.0.1:8085/login', reuseExistingServer: true, timeout: 15000, }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'], headless: true, }, }, ], });