Repository Public
1import { defineConfig, devices } from "@playwright/test";23export default defineConfig({4 testDir: ".",5 testMatch: "*.spec.ts",6 fullyParallel: false,7 workers: 1,8 retries: 0,9 timeout: 90_000,10 expect: { timeout: 10_000 },11 reporter: [["list"]],12 outputDir: "../../test-results",13 use: { baseURL: "http://localhost:8761", trace: "retain-on-failure", screenshot: "only-on-failure", ...devices["Desktop Chrome"], viewport: { width: 1360, height: 860 }, colorScheme: "dark" },14 webServer: { command: "node_modules/.bin/tsx tests/e2e/serve.ts", cwd: "../..", url: "http://localhost:8761/api/health/ready", reuseExistingServer: false, timeout: 30_000, gracefulShutdown: { signal: "SIGTERM", timeout: 4000 } },15});16