From a6cd173910f83757496466ba8ef69b92749c1682 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 28 Feb 2023 16:43:44 -0700 Subject: [PATCH] Update playwright.config.ts --- playwright.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 65d224700a..57e1c0be82 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,4 +1,5 @@ -import { devices, PlaywrightTestConfig } from "@playwright/test"; +import type { PlaywrightTestConfig } from "@playwright/test"; +import { devices } from "@playwright/test"; import dotEnv from "dotenv"; import * as os from "os"; import * as path from "path"; @@ -33,7 +34,7 @@ if (IS_EMBED_TEST) { const config: PlaywrightTestConfig = { forbidOnly: !!process.env.CI, - retries: 1, + retries: 0, workers: os.cpus().length, timeout: 60_000, maxFailures: headless ? 10 : undefined,