Make it go faster on CI

This commit is contained in:
Rūdolfs Ošiņš
2026-02-26 15:39:25 -06:00
parent 87bd6e244f
commit 8022f607de
+3 -3
View File
@@ -4,12 +4,12 @@ import { devices } from "@playwright/test";
const config: PlaywrightTestConfig = { const config: PlaywrightTestConfig = {
testDir: "./tests/e2e", testDir: "./tests/e2e",
outputDir: "./tests/artifacts", outputDir: "./tests/artifacts",
timeout: 30_000, timeout: 10_000,
expect: { expect: {
timeout: 8000, timeout: 5000,
}, },
fullyParallel: true, fullyParallel: true,
workers: process.env.CI ? 1 : undefined, workers: process.env.CI ? 2 : undefined,
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0, retries: process.env.CI ? 2 : 0,
reporter: "list", reporter: "list",