Skip to content

Commit

Permalink
fix(float-button): [float-button] reduction file
Browse files Browse the repository at this point in the history
  • Loading branch information
fanbingbing16 committed Mar 26, 2024
1 parent f07cca7 commit e128a87
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internals/playwright-config/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit e128a87

Please sign in to comment.