control-ui-e2e
Installation
SKILL.md
Control UI E2E
Use this for Control UI changes that need a real browser flow with deterministic Gateway data.
Test Shape
- Use
ui/src/**/*.e2e.test.tsfor full GUI flows. - Use
ui/src/test-helpers/control-ui-e2e.tsto start the Vite Control UI and install a mocked Gateway WebSocket. - Keep scenarios deterministic. Do not use live provider keys, real channel credentials, or a real Gateway unless the user explicitly asks for live proof.
- Prefer existing
.browser.test.tsor unit tests for narrow rendering logic; use this E2E lane when the proof should cover routing, app boot, Gateway handshake, requests, and visible UI behavior together.
Commands
- Target one E2E test in a Codex worktree:
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/ui/e2e/chat-flow.e2e.test.ts