From b86738f3ab2178b587c5c36e53909ee38f39b921 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Tue, 10 Jun 2025 15:00:06 -0700 Subject: [PATCH] Allow 2 retries playwright (#384) --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 70c1248..beda284 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -3,7 +3,7 @@ import { PlaywrightTestConfig } from "@playwright/test"; const config: PlaywrightTestConfig = { testDir: "./e2e-tests", workers: 1, - retries: process.env.CI ? 1 : 0, + retries: process.env.CI ? 2 : 0, // maxFailures: 1, timeout: process.env.CI ? 180_000 : 30_000, // Use a custom snapshot path template because Playwright's default