From c84305ed7382202ba2932e2cefab16a98f32bedf Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 1 Oct 2024 22:12:38 +0200 Subject: [PATCH] test: retry installation tests up to 3 times (#32910) Installation tests can fail due to e.g. network issues. Lets align with library tests and retry up to 3 times. --- tests/installation/playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/installation/playwright.config.ts b/tests/installation/playwright.config.ts index 25ca82017b..f61efa87ff 100644 --- a/tests/installation/playwright.config.ts +++ b/tests/installation/playwright.config.ts @@ -38,7 +38,7 @@ export default defineConfig({ outputDir, testIgnore: '**\/fixture-scripts/**', timeout: 5 * 60 * 1000, - retries: 0, + retries: process.env.CI ? 3 : 0, reporter: reporters(), forbidOnly: !!process.env.CI, workers: 1,