From 080c7bbcf5964dac28e8f1699c4b448a64cf4126 Mon Sep 17 00:00:00 2001 From: jamil314 Date: Thu, 31 Oct 2024 19:53:05 +0600 Subject: [PATCH] e2e: retry on CI --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 1ea7d2b6..22d2a8f2 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* Retry on CI only */ - retries: 0, + retries: 2, /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */