Files
moreminimore-vibe/playwright.config.ts
2025-05-23 10:44:52 -07:00

24 lines
703 B
TypeScript

import { PlaywrightTestConfig } from "@playwright/test";
const config: PlaywrightTestConfig = {
testDir: "./e2e-tests",
maxFailures: 1,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* See https://playwright.dev/docs/trace-viewer */
trace: "retain-on-failure",
// These options do NOT work for electron playwright.
// Instead, you need to do a workaround.
// See https://github.com/microsoft/playwright/issues/8208
//
// screenshot: "on",
// video: "retain-on-failure",
},
};
export default config;