import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './src/tests', fullyParallel: true, forbidOnly: !!process.env.CI, retries: 2, workers: 2, reporter: [ ['list'], ['html', { open: 'never' }], ], timeout: 90000, expect: { timeout: 30000, }, use: { baseURL: 'http://localhost:3000', trace: 'retain-on-failure', screenshot: 'only-on-failure', video: 'retain-on-failure', headless: true, viewport: { width: 1280, height: 720 }, actionTimeout: 30000, navigationTimeout: 60000, }, projects: [ { name: 'chromium-no-auth', use: { ...devices['Desktop Chrome'] }, }, ], });