fix: optimize test timeouts and wait conditions for better stability
This commit is contained in:
@@ -22,9 +22,10 @@ export default defineConfig({
|
||||
suiteTitle: false,
|
||||
}],
|
||||
],
|
||||
timeout: 60000,
|
||||
timeout: 90000,
|
||||
expect: {
|
||||
timeout: 30000,
|
||||
timeout: 45000,
|
||||
toHaveScreenshot: { timeout: 60000 },
|
||||
},
|
||||
use: {
|
||||
baseURL: env.baseURL,
|
||||
@@ -33,8 +34,8 @@ export default defineConfig({
|
||||
video: env.video,
|
||||
headless: env.headless,
|
||||
viewport: { width: 1280, height: 720 },
|
||||
actionTimeout: 30000,
|
||||
navigationTimeout: 60000,
|
||||
actionTimeout: 45000,
|
||||
navigationTimeout: 90000,
|
||||
launchOptions: {
|
||||
slowMo: env.slowMo,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user