mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 05:35:17 +00:00
chore(e2e): reduce timeout
This commit is contained in:
parent
89828d099c
commit
13e289909c
@ -2,10 +2,10 @@ import { devices, defineConfig as playwrightDefineConfig, type PlaywrightTestCon
|
|||||||
|
|
||||||
export const defineConfig = (config?: PlaywrightTestConfig) => {
|
export const defineConfig = (config?: PlaywrightTestConfig) => {
|
||||||
return playwrightDefineConfig({
|
return playwrightDefineConfig({
|
||||||
timeout: process.env.CI ? 5 * 60 * 1000 : 200 * 1000,
|
timeout: process.env.CI ? 2 * 60 * 1000 : 30 * 1000,
|
||||||
|
|
||||||
expect: {
|
expect: {
|
||||||
timeout: process.env.CI ? 1 * 60 * 1000 : 5000,
|
timeout: process.env.CI ? 20 * 1000 : 5000,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Look for test files in the "tests" directory, relative to this configuration file.
|
// Look for test files in the "tests" directory, relative to this configuration file.
|
||||||
|
Loading…
Reference in New Issue
Block a user