import { defineConfig } from "@playwright/test"; export default defineConfig({ testDir: "./tests/e2e", timeout: 60000, expect: { timeout: 10000 }, retries: 0, use: { baseURL: "http://localhost:5173", headless: true, screenshot: "only-on-failure", trace: "retain-on-failure", }, webServer: { command: "npm run dev", url: "http://localhost:5173", reuseExistingServer: true, timeout: 30000, }, });