Skip to content

Commit

Permalink
chore: configure assertion timeout for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Sep 13, 2024
1 parent 9aafed2 commit 029fb1e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export default defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
},
timeout: process.env.CI ? 60000 : 30000,
timeout: process.env.CI ? 60_000 : 30_000,

expect: {
timeout: process.env.CI ? 10_000 : 8_000,
},

/* Configure projects for major browsers */
projects: [
Expand Down

0 comments on commit 029fb1e

Please sign in to comment.