import { defineConfig, devices } from "@playwright/test"; // Runs against the already-running docker-compose stack (web on :3000, api // on :8000) - see e2e/README.md. Not started automatically because the // full pipeline (real worker/beat/Postgres/Redis/Mailpit) can't be spun up // by Playwright's webServer option alone. export default defineConfig({ testDir: "./e2e", fullyParallel: false, workers: 1, retries: 0, reporter: "list", timeout: 60_000, use: { baseURL: process.env.E2E_BASE_URL ?? "http://localhost:3000", trace: "retain-on-failure", }, projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }], });