Files
edueasy/playwright.config.ts

23 lines
450 B
TypeScript

import { defineConfig } from "@playwright/test"
export default defineConfig({
testDir: "./e2e",
timeout: 30000,
expect: { timeout: 5000 },
fullyParallel: false,
retries: 0,
workers: 1,
reporter: [["list"]],
use: {
baseURL: "http://localhost:3459",
trace: "on-first-retry",
},
webServer: {
command: "npx next dev -p 3459",
url: "http://localhost:3459",
reuseExistingServer: false,
timeout: 30000,
},
})