control-ui-e2e

Automate end-to-end GUI testing with Vitest and Playwright.

18|1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/vignesh2027/Vilvona-AI --skill control-ui-e2e-vignesh2027
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: control-ui-e2e
Source: https://github.com/vignesh2027/Vilvona-AI/tree/main/.agents/skills/control-ui-e2e
Command: npx skills add https://github.com/vignesh2027/Vilvona-AI --skill control-ui-e2e-vignesh2027

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vitest, playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates end-to-end testing of the OpenClaw Control UI, ensuring that changes and updates do not break the user experience.

Core Features & Use Cases

  • End-to-End Testing: Execute tests that simulate real user interactions with the Control UI.
  • Mocked Data: Use mocked Gateway WebSocket flows and dashboard runs for deterministic testing.
  • Visual Proof: Capture screenshots and videos to provide visual evidence of test results.
  • Use Case: When developing new features for the Control UI, use this Skill to run tests and verify that the UI behaves as expected.

Quick Start

Run the end-to-end tests for the Control UI with the command: pnpm test:ui:e2e

Frequently Asked Questions about control-ui-e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate end-to-end testing for a GUI with deterministic data?

End-to-end testing for a GUI uses Vitest and Playwright to simulate user interactions while mocking Gateway WebSocket flows and dashboard runs. This approach ensures deterministic testing by isolating the UI from unpredictable backend data.

What's the best way to capture visual proof of GUI test results?

The best way to capture visual proof of GUI test results is using Playwright during end-to-end test execution. It automatically records screenshots and videos of the simulated user interactions, providing clear evidence of UI behavior.

Do I need to mock WebSocket flows for deterministic GUI testing?

Yes, you need to mock WebSocket flows for deterministic GUI testing. Mocking Gateway WebSocket flows and dashboard runs isolates the UI from backend variability, ensuring that test outcomes remain consistent and reliable across runs.

How do I run end-to-end tests for a Control UI project?

To run end-to-end tests for a Control UI project, execute the command `pnpm test:ui:e2e` in your terminal. This initiates the Vitest and Playwright test suite to simulate user interactions and verify UI behavior.

Does this testing approach work with Vitest and Playwright together?

Yes, this testing approach works with Vitest and Playwright together. Vitest manages the test execution while Playwright handles browser automation and user interaction simulation, capturing screenshots and videos for visual evidence.

Why are my end-to-end GUI tests failing due to backend data changes?

End-to-end GUI tests fail due to backend data changes because live data introduces variability. By mocking Gateway WebSocket flows and dashboard runs, you isolate the UI to ensure deterministic testing and prevent test flakiness.