mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 21:25:25 +00:00
feat: increase timeout for playwright tests
This commit is contained in:
parent
faaa0a9e60
commit
83cfbf82cf
@ -50,7 +50,7 @@ globalSetup(async () => {
|
||||
|
||||
const config: Config = {
|
||||
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
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ setConfig(config)
|
||||
|
||||
const options: PlaywrightOptions = {
|
||||
headless: true, // Run tests in headless browsers.
|
||||
video: "retain-on-failure",
|
||||
video: "retry-with-video",
|
||||
}
|
||||
|
||||
// Run tests in three browsers.
|
||||
|
Loading…
Reference in New Issue
Block a user