mirror of https://github.com/coder/code-server.git
chore: increase playwright timeout
This commit is contained in:
parent
96812433a4
commit
a059129252
|
@ -11,7 +11,7 @@ import path from "path"
|
||||||
// PWDEBUG=1 yarn test:e2e # Run Playwright inspector
|
// PWDEBUG=1 yarn test:e2e # Run Playwright inspector
|
||||||
const config: PlaywrightTestConfig = {
|
const config: PlaywrightTestConfig = {
|
||||||
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
||||||
timeout: 60000, // Each test is given 60 seconds.
|
timeout: 120000, // Each test is given 120 seconds.
|
||||||
retries: process.env.CI ? 2 : 1, // Retry in CI due to flakiness.
|
retries: process.env.CI ? 2 : 1, // Retry in CI due to flakiness.
|
||||||
// Limit the number of failures on CI to save resources
|
// Limit the number of failures on CI to save resources
|
||||||
maxFailures: process.env.CI ? 3 : undefined,
|
maxFailures: process.env.CI ? 3 : undefined,
|
||||||
|
|
Loading…
Reference in New Issue