Skip to content

Commit

Permalink
[skip ci] out out parallel tests in local env
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Feb 19, 2024
1 parent 74561d6 commit e522483
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions playwright-ct.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ const config: PlaywrightTestConfig = defineConfig({
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,

/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Opt out of parallel tests. */
// on non-performant local machines some tests may fail due to lack of resources
// so we opt out of parallel tests in any environment
workers: 1,

/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
Expand Down

0 comments on commit e522483

Please sign in to comment.