The question dock e2e tests used seedSessionQuestion which sends a prompt to a real LLM and waits for it to call the question tool. This is inherently flaky due to LLM latency and non-determinism. Add withMockQuestion (mirroring the existing withMockPermission pattern) that intercepts GET /question and POST /question/*/reply at the Playwright route level, making the tests fully deterministic. |
||
|---|---|---|
| .. | ||
| session-child-navigation.spec.ts | ||
| session-composer-dock.spec.ts | ||
| session-model-persistence.spec.ts | ||
| session-review.spec.ts | ||
| session-undo-redo.spec.ts | ||
| session.spec.ts | ||