Skip to content

Commit

Permalink
chore: configure assertion timeout for e2e tests (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Sep 16, 2024
1 parent cfdc22e commit 610dba0
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 610dba0

Please sign in to comment.