playwright.config.ts
Rama main · réplica de lectura del repositorio original.
import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL ?? "http://127.0.0.1:3000",
},
webServer: process.env.PLAYWRIGHT_BASE_URL
? undefined
: {
command: "npm run dev",
url: "http://127.0.0.1:3000/health/live",
reuseExistingServer: true,
},
});