Skip to content

Commit

Permalink
[e2e] Fix regression in per-test timeout (60sec) (#903)
Browse files Browse the repository at this point in the history
Resolves test fail due to timeout.
  • Loading branch information
webfiltered authored Feb 15, 2025
1 parent 189597c commit 73c0772
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default defineConfig({
globalSetup: './playwright.setup',
// Entire test suite timeout - 1 hour
globalTimeout: 60 * 60 * 1000,
// Per-test timeout - 60 sec
timeout: 60_000,
// This is a desktop app; sharding is required to run tests in parallel.
workers: 1,
// GitHub reporter in CI, dot reporter for local development.
Expand All @@ -28,14 +30,10 @@ export default defineConfig({
{
name: 'install',
testMatch: ['install/**/*.spec.ts', 'shared/**/*.spec.ts'],
// Per-test timeout - 60 sec
timeout: 60_000,
},
{
name: 'post-install',
testMatch: ['post-install/**/*.spec.ts', 'shared/**/*.spec.ts'],
// Per-test timeout - 60 sec
timeout: 60_000,
dependencies: ['install'],
},
],
Expand Down

0 comments on commit 73c0772

Please sign in to comment.