Files
beachho.us/playwright.config.ts
matt bc02d72576
CI / quality (push) Has been cancelled
New initial commit
2026-04-22 16:28:11 -07:00

21 lines
449 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
use: {
baseURL: "http://127.0.0.1:4173",
trace: "on-first-retry",
},
webServer: {
command: "npm run build && npm run preview -- --host 127.0.0.1 --port 4173",
port: 4173,
reuseExistingServer: true,
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
});