import { defineConfig } from "@playwright/test"; export default defineConfig({ testDir: "./tests", timeout: 30000, expect: { timeout: 5000 }, fullyParallel: true, retries: 1, workers: 1, reporter: "html", use: { baseURL: "http://localhost:8080", trace: "on-first-retry", screenshot: "only-on-failure", }, webServer: { command: "npm run dev", port: 8080, reuseExistingServer: true, timeout: 30000, }, });