From e91d74d52b027dba4ab24cce2179fcbb9bebef09 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 8 Mar 2026 16:41:18 -0500 Subject: [PATCH] fix: run signup-flow tests unauthenticated and increase timeout - Add signup-flow to unauthenticated test pattern - Ignore signup-flow in authenticated chromium tests - Increase global timeout from 20 to 30 minutes - Fixes redirects to /dashboard when trying to access /users/register --- e2e/playwright.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index 73385f62..db450739 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -22,8 +22,8 @@ export default defineConfig({ workers: process.env.CI ? 4 : undefined, /* Maximum time one test can run */ timeout: 30 * 1000, - /* Maximum time for entire test run (1318 tests with 4 workers ~15 minutes) */ - globalTimeout: 20 * 60 * 1000, + /* Maximum time for entire test run (1318 tests with 4 workers ~25 minutes) */ + globalTimeout: 30 * 60 * 1000, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI ? [['list']] @@ -61,7 +61,7 @@ export default defineConfig({ ...devices['Desktop Chrome'], // No storageState - runs without authentication }, - testMatch: /tests\/(auth-flows|registration)\.spec\.ts/, + testMatch: /tests\/(auth-flows|registration|signup-flow)\.spec\.ts/, }, { @@ -71,7 +71,7 @@ export default defineConfig({ // Use prepared auth state storageState: 'tests/.auth/user.json', }, - testIgnore: /tests\/(auth-flows|registration)\.spec\.ts/, + testIgnore: /tests\/(auth-flows|registration|signup-flow)\.spec\.ts/, dependencies: ['setup'], },