Files
AgentCompany/tests/e2e/playwright.config.ts
T

19 lines
528 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: ".",
testMatch: ["desktop.smoke.spec.ts"],
timeout: 120_000,
fullyParallel: false,
workers: 1,
reporter: "list",
use: {
trace: "on-first-retry",
screenshot: "only-on-failure",
},
// Build from current source before running e2e tests.
// Uses globalSetup (not webServer) because electron-vite build is a
// one-shot build command, not a long-running server process.
globalSetup: "./e2e-global-setup.ts",
});