Files
agenticCode/ac-ui/playwright.config.ts
Ingo Schnabel ee4bbd31d6 Skript + Bugs
2026-07-17 16:28:51 +02:00

20 lines
685 B
TypeScript

import {defineConfig, devices} from "@playwright/test";
/**
* E2E tests run against the deployed stack (nginx UI container + ac-code-server), i.e.
* `./manage-ac.sh deploy` must be running and the `ac` project ingested. The UI is served at :5174 and
* proxies /api to the server, so tests exercise the real API — no mocking.
*/
export default defineConfig({
testDir: "./e2e",
timeout: 30_000,
expect: {timeout: 10_000},
fullyParallel: true,
reporter: [["list"]],
use: {
baseURL: process.env.AC_UI_URL ?? "http://localhost:5174",
trace: "on-first-retry",
},
projects: [{name: "chromium", use: {...devices["Desktop Chrome"]}}],
});