feat: first test for data center

This commit is contained in:
DarkSky
2022-12-28 17:00:51 +08:00
parent 32fce00627
commit df30cc4861
12 changed files with 86 additions and 79 deletions
+5 -2
View File
@@ -24,8 +24,11 @@ const config: PlaywrightTestConfig = {
// Record video only when retrying a test for the first time.
video: 'on-first-retry',
},
retries: process.env.CI ? 3 : 0,
workers: '100%',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? '100%' : undefined,
webServer: {
command: 'pnpm build && pnpm start -p 8080',