opencode/packages/app/e2e/session
Kit Langton eb5c67de58 fix(e2e): replace LLM-seeded question tests with route mocking
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.
2026-03-16 12:16:16 -04:00
..
session-child-navigation.spec.ts fix(app): stale keyed show errors 2026-03-06 11:03:37 -06:00
session-composer-dock.spec.ts fix(e2e): replace LLM-seeded question tests with route mocking 2026-03-16 12:16:16 -04:00
session-model-persistence.spec.ts fix(app): agent switch should not reset thinking level (#17470) 2026-03-16 19:43:29 +05:30
session-review.spec.ts chore: skip test 2026-03-11 16:21:04 -05:00
session-undo-redo.spec.ts fix(app): preserve file tree tab on reopen + fix e2e test regressions (#16482) 2026-03-07 09:47:45 -06:00
session.spec.ts revert(app): "STUPID SEXY TIMELINE (#16420)" (#16745) 2026-03-09 07:36:39 -05:00