Files
duplicati/playwright.config.ts
T

20 lines
546 B
TypeScript
Raw Normal View History

2025-11-04 20:36:16 +01:00
import { defineConfig } from "@playwright/test";
export default defineConfig({
use: {
2025-11-04 20:36:16 +01:00
baseURL: "http://localhost:8200",
headless: true,
2025-11-10 19:50:32 +01:00
// Capture screenshots on failure
screenshot: "only-on-failure",
// Capture video on failure
video: "retain-on-failure",
// Capture trace on failure for detailed debugging
trace: "retain-on-failure",
},
2025-11-04 20:36:16 +01:00
testDir: "playwright-tests",
timeout: 120000,
workers: 1,
2025-11-10 19:50:32 +01:00
reporter: process.env.CI ? [["html"], ["list"], ["github"]] : "list",
2025-11-04 21:35:15 +01:00
outputDir: "test-results/",
});