cyberneticlibrary

Test Control UI with end-to-end checks

control-ui-e2eskillsetup L3377,536
openclaw/openclaw
What it does

Test Control UI flows with Vitest + Playwright, mocked Gateway WebSocket, deterministic data

Best for

Control UI changes requiring browser routing, app boot, and Gateway handshake verification in one test.

Inputs
  • · GUI flow scenario, control UI state transitions, mocked Gateway responses
Outputs
  • · Pass/fail test result, screenshots/video of UI flow, browser proof of behavior
Requires
  • · Vitest
  • · Playwright for browser automation
  • · Control UI Vite app
  • · Mocked Gateway WebSocket
Preconditions

OpenClaw repo; pnpm installed; Control UI source available

Failure modes
  • · Dependencies missing in Codex worktree (install pnpm install)
  • · Live provider keys accidentally used
  • · Gateway mock stale
Trust signals
  • · Deterministic mocked Gateway WebSocket
  • · Visual proof (screenshots/video) by default
  • · Integration with Testbox/Crabbox for broad proof