Files
hms-licht-ton/frontend-nuxt-old/playwright.config.ts
T

25 lines
492 B
TypeScript
Raw Normal View History

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
timeout: 30000,
retries: 1,
use: {
baseURL: "http://localhost:3000",
headless: true,
screenshot: "only-on-failure",
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
webServer: {
command: "npm run dev",
url: "http://localhost:3000",
timeout: 60000,
reuseExistingServer: true,
},
});