arbret/frontend/playwright.config.ts

18 lines
408 B
TypeScript
Raw Normal View History

2025-12-18 21:48:41 +01:00
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,
2025-12-18 21:48:41 +01:00
webServer: {
command: "npm run dev",
url: "http://localhost:3000",
reuseExistingServer: true,
},
use: {
baseURL: "http://localhost:3000",
},
});