import { defineConfig, devices } from "@playwright/test"; export default defineConfig({ testDir: "./e2e", // _capture-screenshots.spec.ts is evidence-generation tooling, not a regression test — // it mutates demo data via a reset and is run explicitly, not as part of the suite. testIgnore: "**/_*.spec.ts", timeout: 30_000, fullyParallel: false, workers: 1, reporter: [["list"], ["html", { open: "never", outputFolder: "playwright-report" }]], use: { baseURL: process.env.MOBILITYOPS_PUBLIC_URL ?? "http://localhost:1228", trace: "retain-on-failure", screenshot: "only-on-failure", }, projects: [ { name: "chromium", use: { ...devices["Desktop Chrome"] }, }, ], });