From c7628c8ccf89a7f97613468123ee81b5b6442867 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 22 Oct 2026 09:47:09 +0200 Subject: [PATCH] test(e2e): Retry tests in all dev-mode variants Co-Authored-By: Claude Opus 5.5 --- dev-packages/test-utils/src/playwright-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-packages/test-utils/src/playwright-config.ts b/dev-packages/test-utils/src/playwright-config.ts index 596de3e52db3..956c890c1f04 100644 --- a/dev-packages/test-utils/src/playwright-config.ts +++ b/dev-packages/test-utils/src/playwright-config.ts @@ -35,7 +35,7 @@ export function getPlaywrightConfig( /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* In dev mode some apps are flaky, so we allow retry there... */ - retries: testEnv === 'development' ? 3 : 0, + retries: testEnv.startsWith('dev') ? 3 : 0, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: process.env.CI ? [['line'], ['github'], ['junit', { outputFile: 'results.junit.xml' }]] : 'list', /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */