fix: stabilise happy path playwright journeys
This commit is contained in:
+30
-2
@@ -1,5 +1,33 @@
|
||||
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({
|
||||
use: { headless: true, screenshot: "only-on-failure", actionTimeout: 120000 },
|
||||
testMatch: "**/tests/smoke.test.js",
|
||||
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/,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user