import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './', timeout: 60_000, expect: { toHaveScreenshot: { maxDiffPixelRatio: 0.02 } }, use: { headless: true, viewport: { width: 1280, height: 800 }, actionTimeout: 10_000, trace: 'on-first-retry', ignoreHTTPSErrors: true, }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] } }, ], });