mirror of https://github.com/coder/code-server.git
feat: increase timeout for playwright tests
This commit is contained in:
parent
faaa0a9e60
commit
83cfbf82cf
|
@ -50,7 +50,7 @@ globalSetup(async () => {
|
||||||
|
|
||||||
const config: Config = {
|
const config: Config = {
|
||||||
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
||||||
timeout: 30000, // Each test is given 30 seconds.
|
timeout: 60000, // Each test is given 60 seconds.
|
||||||
retries: 3, // Retry failing tests 2 times
|
retries: 3, // Retry failing tests 2 times
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ setConfig(config)
|
||||||
|
|
||||||
const options: PlaywrightOptions = {
|
const options: PlaywrightOptions = {
|
||||||
headless: true, // Run tests in headless browsers.
|
headless: true, // Run tests in headless browsers.
|
||||||
video: "retain-on-failure",
|
video: "retry-with-video",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run tests in three browsers.
|
// Run tests in three browsers.
|
||||||
|
|
Loading…
Reference in New Issue