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
This commit is contained in:
parent
fc63a4faaf
commit
e91d74d52b
1 changed files with 4 additions and 4 deletions
|
|
@ -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'],
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue