Skip to content

Commit

Permalink
CI: wait enough for navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
algoORgoal committed May 10, 2024
1 parent 5e3cf1c commit 7e41965
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default defineConfig({
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Use all the cores provided by github actions */
workers: process.env.CI ? 4 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
Expand All @@ -35,8 +35,10 @@ export default defineConfig({

/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",

navigationTimeout: 10000,
},
timeout: 5 * 60 * 1000,
timeout: 1 * 60 * 1000,

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

0 comments on commit 7e41965

Please sign in to comment.