From e128a878ccefa11bc7d56640cccc8118bffbc2fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=83=9F=E9=93=83?= <2581932570@qq.com> Date: Tue, 26 Mar 2024 09:08:47 +0800 Subject: [PATCH] fix(float-button): [float-button] reduction file --- internals/playwright-config/src/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internals/playwright-config/src/index.js b/internals/playwright-config/src/index.js index 5e969b020c..8769ca796a 100644 --- a/internals/playwright-config/src/index.js +++ b/internals/playwright-config/src/index.js @@ -14,10 +14,10 @@ const Config = ({ testDir, baseURL, storageState, devServerCommon }) => defineConfig({ testDir, /* 每个 test 用例最长时间。 */ - timeout: 20 * 2000, + timeout: 20 * 1000, expect: { // 每个 expect() 用例最长时间。 - timeout: 10 * 2000 + timeout: 10 * 1000 }, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, @@ -46,12 +46,12 @@ const Config = ({ testDir, baseURL, storageState, devServerCommon }) => /* Emulates the user timezone */ timezoneId: 'Asia/Shanghai' }, - // webServer: { - // command: devServerCommon, - // url: baseURL, - // reuseExistingServer: !process.env.CI, - // stdout: 'pipe' - // }, + webServer: { + command: devServerCommon, + url: baseURL, + reuseExistingServer: !process.env.CI, + stdout: 'pipe' + }, projects: [ { name: 'chromium',