Increases timeout temporarily

pull/2745/head^2
zomars 2022-05-12 08:16:27 -06:00
parent 7a08403636
commit dcd2862e72
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ addAliases({
const outputDir = path.join(__dirname, "..", "..", "test-results"); const outputDir = path.join(__dirname, "..", "..", "test-results");
const testDir = path.join(__dirname, "..", "..", "apps/web/playwright"); const testDir = path.join(__dirname, "..", "..", "apps/web/playwright");
const DEFAULT_NAVIGATION_TIMEOUT = 5000; const DEFAULT_NAVIGATION_TIMEOUT = 15000;
const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS; const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS;
@ -27,7 +27,7 @@ const config: PlaywrightTestConfig = {
retries: 1, retries: 1,
workers: os.cpus().length, workers: os.cpus().length,
timeout: 60_000, timeout: 60_000,
maxFailures: headless ? 3 : undefined, maxFailures: headless ? 10 : undefined,
reporter: [ reporter: [
[process.env.CI ? "github" : "list"], [process.env.CI ? "github" : "list"],
["html", { outputFolder: "./playwright/reports/playwright-html-report", open: "never" }], ["html", { outputFolder: "./playwright/reports/playwright-html-report", open: "never" }],