Generate Playwright integration tests for Vaadin 25 views using the DramaFinder library. Use when the user wants to write IT tests for a Vaadin view, mentions DramaFinder, or asks about Playwright testing in a Vaadin project.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Full API (methods, signatures, descriptions): see api-reference.md. This note covers only behaviour that isn't obvious from the signatures.
ComboBox supports both in-memory and lazy-loaded (server-side) data providers. The element API works the same way regardless of the loading strategy — filterAndSelectItem and setFilter narrow results from the server exactly as they do for in-memory data.
filterAndSelectItem types filter text into the input (triggering server/in-memory filtering) and then clicks the matching item in one step. Use setFilter + assertItemCount when you want to verify how many items a filter narrows to before selecting.
// Filter and select in one step
comboBox.filterAndSelectItem("Apr", "Apricot");
comboBox.assertValue("Apricot");
// Or filter manually and inspect the narrowed list
comboBox.setFilter("Ban");
comboBox.assertItemCount(1);
comboBox.close();