Files
next-tjwater-frontend/playwright.config.ts
T

24 lines
508 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./src",
testMatch: ["**/*.e2e.ts"],
fullyParallel: true,
reporter: "html",
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || "http://127.0.0.1:5173",
trace: "on-first-retry"
},
webServer: {
command: "pnpm dev",
url: "http://127.0.0.1:5173",
reuseExistingServer: true
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] }
}
]
});