import { defineConfig, devices } from "@playwright/test"; const baseURL = process.env.GEO_SAMPLE_BASE_URL ?? "http://localhost:3000"; const timeout = Number(process.env.GEO_SAMPLE_TIMEOUT_MS ?? "600000") + 60_000; export default defineConfig({ testDir: "./tests/e2e", testMatch: "sample-flow.spec.ts", fullyParallel: false, workers: 1, timeout, retries: 0, reporter: [["list"]], use: { baseURL, trace: "retain-on-failure", screenshot: "only-on-failure", video: "retain-on-failure", actionTimeout: 30_000, navigationTimeout: 60_000, }, projects: [ { name: "chromium", use: { ...devices["Desktop Chrome"] }, }, ], });