What problem does it solve?
Server-side Vaadin views are often slow and flaky to test when using browsers or full end-to-end stacks. This Skill enables fast, deterministic, browser-free unit tests that exercise view logic, navigation, and component interactions inside the JVM to make CI feedback rapid and reliable.
Core Features & Use Cases
- Browser-free execution: Run UI tests without a servlet container or real browser using UIUnitTest base classes.
- Component testers and queries: Simulate user actions with typed testers and query components with $() to assert visible behavior.
- Navigation and Spring integration: Navigate to route-backed views, pass parameters, and run tests with Spring-aware bases to validate bean injection scenarios.
- Use Case: Rapidly validate form validation, button-driven navigation, dialog content, and grid interactions in unit tests that run in milliseconds.
Quick Start
Write a UI unit test that navigates to HelloWorldView, sets the name field to Marcus, clicks the hello button, and asserts the notification text.