fiddy/apps/web/playwright.config.ts
2026-02-11 23:45:15 -08:00

18 lines
462 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
fullyParallel: true,
retries: 0,
use: {
baseURL: process.env.APP_ORIGIN || "http://localhost:3000",
trace: "on-first-retry"
},
webServer: {
command: "npm run dev -- --port 3000",
url: process.env.APP_ORIGIN || "http://localhost:3000",
reuseExistingServer: true,
timeout: 120 * 1000
}
});