Files
solace-bg-dubai/frontend/playwright.config.ts
defiQUG a03417be98
All checks were successful
CI / lint-and-test (push) Successful in 9m52s
chore: consolidate local WIP (repo cleanup 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:41:38 -07:00

24 lines
629 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
workers: 1,
reporter: "list",
use: {
baseURL: process.env.FRONTEND_URL || "http://localhost:3000",
trace: "on-first-retry",
},
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
webServer: process.env.PW_SKIP_WEBSERVER
? undefined
: {
command: "pnpm run dev",
url: "http://localhost:3000",
reuseExistingServer: true,
timeout: 120_000,
},
});