testbench-testing
Installation
SKILL.md
End-to-End Browser Testing with Vaadin TestBench
Use the Vaadin MCP tools (search_vaadin_docs) to look up the latest documentation whenever uncertain about a specific API detail. Always set vaadin_version to "25" and ui_language to "java".
Note: TestBench requires a commercial Vaadin subscription.
What TestBench Is
TestBench runs your Vaadin application in a real browser (Chrome, Firefox, etc.) and lets you write Java tests that interact with it like a user would. It's built on Selenium but provides a high-level API specifically designed for Vaadin components.
When to Use TestBench (vs. UI Unit Tests)
Use end-to-end TestBench tests for:
- Critical user paths — login, checkout, payment flows
- Client-side behavior — JavaScript functionality, custom web components
- Visual regression — screenshot comparison to catch unintended UI changes
- Cross-browser testing — verify behavior across Chrome, Firefox, Safari
- Integration with external systems — SSO, OAuth flows