Update playwright.config.ts

This commit is contained in:
zomars committed 2023-02-28 16:43:44 -07:00
1 parent dcd39c3f04
commit a6cd173910
1 file changed
+3 -2
+3 -2
View File
@@ -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,