chore: save WIP before workstation switch
This commit is contained in:
@@ -12,8 +12,8 @@ export default defineConfig({
|
||||
forbidOnly: !!process.env.CI,
|
||||
// Retry on CI only.
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
// Use 2 workers in CI for parallel project execution; 1 locally
|
||||
workers: process.env.CI ? 2 : 1,
|
||||
// Use 1 worker in CI to avoid database conflicts between parallel projects
|
||||
workers: 1,
|
||||
// Reporter to use
|
||||
reporter: 'html',
|
||||
// Global setup and teardown
|
||||
@@ -43,6 +43,7 @@ export default defineConfig({
|
||||
storageState: 'playwright/.auth/user.json',
|
||||
},
|
||||
dependencies: ['setup'],
|
||||
testIgnore: ['**/admin-*.test.ts'],
|
||||
},
|
||||
// Admin user project
|
||||
{
|
||||
@@ -63,6 +64,7 @@ export default defineConfig({
|
||||
storageState: undefined,
|
||||
},
|
||||
dependencies: ['setup'],
|
||||
testIgnore: ['**/admin-*.test.ts'],
|
||||
},
|
||||
],
|
||||
// Run your local dev server before starting the tests
|
||||
|
||||
Reference in New Issue
Block a user