import { defineConfig, devices } from '@playwright/test' export default defineConfig({ timeout: 30000, testDir: 'tests/e2e', webServer: { command: 'npm run dev', port: 3000, reuseExistingServer: !process.env.CI }, use: { baseURL: 'http://localhost:3000', trace: 'on-first-retry', viewport: { width: 1280, height: 800 } }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] } } ] })