From 06ae6e261fba2f8bddcd3a09089ab6caa214811d Mon Sep 17 00:00:00 2001 From: Santhosh Janardhanan Date: Wed, 18 Feb 2026 22:26:28 -0500 Subject: [PATCH] fix(e2e): Increase Playwright timeouts for slower Firefox tests - Add 60s test timeout, 10s expect timeout - Add 15s action timeout, 30s navigation timeout - Fixes Firefox auth tests timing out at 30s --- frontend/playwright.config.ts | 6 ++++++ test-results/.last-run.json | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 test-results/.last-run.json diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 47def589..3d454629 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -7,9 +7,15 @@ export default defineConfig({ retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 1 : undefined, reporter: 'list', + timeout: 60000, // 60 seconds per test + expect: { + timeout: 10000, // 10 seconds for assertions + }, use: { baseURL: 'http://127.0.0.1:5173', trace: 'on-first-retry', + actionTimeout: 15000, // 15 seconds for actions + navigationTimeout: 30000, // 30 seconds for navigation }, projects: [ { diff --git a/test-results/.last-run.json b/test-results/.last-run.json new file mode 100644 index 00000000..5fca3f84 --- /dev/null +++ b/test-results/.last-run.json @@ -0,0 +1,4 @@ +{ + "status": "failed", + "failedTests": [] +} \ No newline at end of file