parent
dd14e827e1
commit
145fb09b73
|
@ -6,9 +6,8 @@ import * as path from "path";
|
||||||
dotEnv.config({ path: ".env" });
|
dotEnv.config({ path: ".env" });
|
||||||
|
|
||||||
const outputDir = path.join(__dirname, "test-results");
|
const outputDir = path.join(__dirname, "test-results");
|
||||||
const testDir = path.join(__dirname, "apps/web/playwright");
|
|
||||||
|
|
||||||
const DEFAULT_NAVIGATION_TIMEOUT = 15000;
|
const DEFAULT_NAVIGATION_TIMEOUT = 40000;
|
||||||
|
|
||||||
const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS;
|
const headless = !!process.env.CI || !!process.env.PLAYWRIGHT_HEADLESS;
|
||||||
|
|
||||||
|
@ -57,6 +56,7 @@ const config: PlaywrightTestConfig = {
|
||||||
name: "@calcom/web",
|
name: "@calcom/web",
|
||||||
testDir: "./apps/web/playwright",
|
testDir: "./apps/web/playwright",
|
||||||
testMatch: /.*\.e2e\.tsx?/,
|
testMatch: /.*\.e2e\.tsx?/,
|
||||||
|
timeout: 120000,
|
||||||
use: {
|
use: {
|
||||||
...devices["Desktop Chrome"],
|
...devices["Desktop Chrome"],
|
||||||
/** If navigation takes more than this, then something's wrong, let's fail fast. */
|
/** If navigation takes more than this, then something's wrong, let's fail fast. */
|
||||||
|
|
Loading…
Reference in New Issue