test: reconfigure test for ci

This commit is contained in:
leejooy96 committed 2023-11-01 09:59:07 +09:00
1 parent 5e23644b84
commit 8b3aba3e22
1 file changed
+7 -1
+7 -1
View File
@@ -1,5 +1,11 @@
import { defineConfig } from '@playwright/test' import { defineConfig } from '@playwright/test'
export default defineConfig({ export default defineConfig({
outputDir: 'tests/results' outputDir: 'tests/results',
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
timeout: 60000,
expect: {
timeout: 10000
}
}) })