From e1717b5980c25f52ed44bc26383c1ef76a53612f Mon Sep 17 00:00:00 2001 From: Nicolas Clerc Date: Wed, 11 Dec 2024 14:48:14 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85(frontend)=20config=20retry=20flaky=20?= =?UTF-8?q?test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flaky test retry needs to be increased. --- src/frontend/admin/playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/admin/playwright.config.ts b/src/frontend/admin/playwright.config.ts index 906744ba6..e463c3cc8 100644 --- a/src/frontend/admin/playwright.config.ts +++ b/src/frontend/admin/playwright.config.ts @@ -21,11 +21,11 @@ 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 ? 2 : 0, + retries: process.env.CI ? 4 : 2, /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: "html", + reporter: "list", testMatch: "**/*.test.e2e.?(c|m)[jt]s?(x)", /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: {