import { defineConfig, devices } from "@playwright/test"; export default defineConfig({ testDir: "./playwright/tests", timeout: 60_000, expect: { timeout: 5_000, }, fullyParallel: true, retries: process.env.CI ? 1 : 0, reporter: [["list"], ["html", { open: "never" }]], use: { actionTimeout: 5_000, baseURL: process.env.NEXT_PUBLIC_API_BASE || "http://localhost:3000", trace: "on-first-retry", screenshot: "only-on-failure", video: "retain-on-failure", headless: true, }, projects: [ { name: "chromium", use: { ...devices["Desktop Chrome"] }, }, ], });