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.
DateTimePickerElement internally composes a DatePickerElement and a TimePickerElement. This changes several inherited behaviours:
getAriaLabel() returns the date picker's ARIA label; assertAriaLabel(String) asserts it on both sub-fields.isEnabled() / assertEnabled() / assertDisabled() require both sub-fields to be in that state.setDate / setTime and assertDateValue / assertTimeValue.The String value format is dd/mm/yyyy hh:mm.
// Set date and time separately, then assert each part
meeting.setDate("15/05/2023");
meeting.setTime("14:30");
meeting.assertDateValue("15/05/2023");
meeting.assertTimeValue("14:30");