From 894a71edfa3b90bf7f53c908b9343fe42b10c080 Mon Sep 17 00:00:00 2001 From: vitPinchuk Date: Tue, 16 Apr 2024 13:32:32 +0300 Subject: [PATCH] updated config --- playwright.config.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index e02a060..4478fa7 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -14,20 +14,15 @@ export default defineConfig({ */ fullyParallel: true, - /** - * 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: 2, /** * Opt out of parallel tests on CI. */ - workers: process.env.CI ? 1 : undefined, + workers: 1, /** * Reporter to use. See https://playwright.dev/docs/test-reporters