working
This commit is contained in:
parent
c0999370c6
commit
4e1a339432
17 changed files with 393 additions and 91 deletions
|
|
@ -2,12 +2,13 @@ import { defineConfig } from "@playwright/test";
|
|||
|
||||
export default defineConfig({
|
||||
testDir: "./e2e",
|
||||
// Run tests sequentially to avoid database conflicts
|
||||
workers: 1,
|
||||
// Ensure tests within a file run in order
|
||||
fullyParallel: false,
|
||||
// Test timeout (per test)
|
||||
timeout: 10000,
|
||||
// Run tests in parallel with multiple workers
|
||||
// Each worker gets its own database and backend instance
|
||||
workers: 8,
|
||||
// Tests can run in parallel now that each worker has isolated database
|
||||
fullyParallel: true,
|
||||
// Test timeout (per test) - increased for e2e tests with database resets
|
||||
timeout: 30000,
|
||||
webServer: {
|
||||
command: "npm run dev",
|
||||
url: "http://localhost:3000",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue