Files
confidence-engine/playwright.config.js
T

34 lines
812 B
JavaScript

import { defineConfig } from "@playwright/test";
/**
* Playwright config for UI mock-mode E2E tests.
*
* These tests validate layout, state transitions, loading behaviour,
* history rendering, and terminal / recovery states.
* They do NOT validate reasoning correctness, candidate selection,
* decomposition quality, confidence propagation, or question quality.
*/
export default defineConfig({
testDir: "./tests/e2e",
outputDir: "test-results",
fullyParallel: false,
timeout: 60_000,
expect: { timeout: 15_000 },
webServer: null,
use: {
headless: true,
screenshot: "only-on-failure",
actionTimeout: 30_000,
trace: "off",
baseURL: "http://localhost:3000",
},
retries: 0,
projects: [
{
name: "mock-mode",
testMatch: /.*\.spec\.js/,
},
],
});