Browse Source

fix: Enabled multiple retries

pull/6490/head
Muhammed Mustafa 1 year ago
parent
commit
b0df0345a1
  1. 2
      tests/playwright/playwright.config.ts

2
tests/playwright/playwright.config.ts

@ -27,7 +27,7 @@ export default defineConfig({
/* Fail the build on CI if you accidentally left test.only in the source code. */ /* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
/* Retry on CI only */ /* Retry on CI only */
retries: process.env.CI ? 1 : 0, retries: process.env.CI ? 3 : 0,
/* Opt out of parallel tests on CI. */ /* Opt out of parallel tests on CI. */
// workers: process.env.CI ? 2 : 4, // workers: process.env.CI ? 2 : 4,
workers: process.env.CI ? 2 : 4, workers: process.env.CI ? 2 : 4,

Loading…
Cancel
Save