Files
fa-agent/playwright.config.ts
2026-09-26 01:12:10 +08:00

15 lines
392 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
fullyParallel: false,
workers: 1,
timeout: 120000,
expect: { timeout: 15000 },
use: {
baseURL: process.env.BASE_URL || "http://127.0.0.1:8000",
trace: "retain-on-failure",
screenshot: "only-on-failure",
},
reporter: [["list"], ["html", { open: "never" }]],
});