test: reconfigure test for ci
This commit is contained in:
1 parent
5e23644b84
commit
8b3aba3e22
1 file changed
+7
-1
@@ -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
|
||||||
|
}
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user