import { defineConfig } from '@playwright/test'; export default defineConfig({ testDir: 'tests/e2e', timeout: 60_000, fullyParallel: false, workers: 1, use: { baseURL: 'http://localhost:4173', viewport: { width: 390, height: 844 } }, webServer: { command: 'rm -rf .data-e2e && npm run build && node build', port: 4173, reuseExistingServer: false, timeout: 180_000, env: { STORAGE: 'local', LOCAL_DATA_DIR: '.data-e2e', SESSION_SECRET: 'e2e-secret-e2e-secret-e2e-secret-e2e', PORT: '4173', ORIGIN: 'http://localhost:4173', BODY_SIZE_LIMIT: '8M', COMPACTION_INTERVAL_MS: '3600000' } } });