From cd17eb0bcd20ac09dfb7f77e0bfee23c48cad660 Mon Sep 17 00:00:00 2001 From: JennyNou Date: Thu, 9 Apr 2026 10:12:01 -0400 Subject: [PATCH] Add retry to test pipeline flakiness --- playwright-tests/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright-tests/playwright.config.ts b/playwright-tests/playwright.config.ts index 94842ffb..0ae2e894 100644 --- a/playwright-tests/playwright.config.ts +++ b/playwright-tests/playwright.config.ts @@ -68,7 +68,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: process.env.CI ? 1 : 0, + retries: process.env.CI ? 2 : 0, /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 4 : 5, /* Reporter to use. See https://playwright.dev/docs/test-reporters */