Skip to content

Commit

Permalink
fix: adjust worker count in Playwright configuration for improved par…
Browse files Browse the repository at this point in the history
…allelism in CI
  • Loading branch information
sirajvind committed Dec 3, 2024
1 parent 39e8f8c commit 62105d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 5 : undefined,
reporter: 'html',
use: {
trace: 'on-first-retry',
},

projects: [
{
name: 'chromium',
Expand All @@ -27,7 +26,6 @@ export default defineConfig({
use: { ...devices['Desktop Safari'] },
},
],

/* Run your local dev server before starting the tests */
// webServer: {
// command: 'npm run start',
Expand Down

0 comments on commit 62105d8

Please sign in to comment.