Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
vitPinchuk committed Apr 16, 2024
1 parent b4a7ff7 commit 894a71e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,15 @@ export default defineConfig<PluginOptions>({
*/
fullyParallel: true,

/**
* Fail the build on CI if you accidentally left test.only in the source code.
*/
forbidOnly: !!process.env.CI,

/**
* Retry on CI only.
*/
retries: process.env.CI ? 2 : 0,
retries: 2,

/**
* Opt out of parallel tests on CI.
*/
workers: process.env.CI ? 1 : undefined,
workers: 1,

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

0 comments on commit 894a71e

Please sign in to comment.