From 26432ec84c279df7457ab9a86b2646630181cafb Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Tue, 5 Mar 2024 16:32:30 +0800 Subject: [PATCH] chore(e2e): reduce timeout --- packages/core/test/src/e2e/defineConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/test/src/e2e/defineConfig.ts b/packages/core/test/src/e2e/defineConfig.ts index 9786bd635..e802c573c 100644 --- a/packages/core/test/src/e2e/defineConfig.ts +++ b/packages/core/test/src/e2e/defineConfig.ts @@ -2,10 +2,10 @@ import { devices, defineConfig as playwrightDefineConfig, type PlaywrightTestCon export const defineConfig = (config?: PlaywrightTestConfig) => { return playwrightDefineConfig({ - timeout: process.env.CI ? 10 * 60 * 1000 : 5 * 60 * 1000, + timeout: 5 * 60 * 1000, expect: { - timeout: process.env.CI ? 60 * 1000 : 10 * 1000, + timeout: 10 * 1000, }, // Look for test files in the "tests" directory, relative to this configuration file.