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.
uploadFiles(Path...) feeds files via the component's hidden native <input type="file"> (Playwright setInputFiles), not by clicking the upload button. Upload completion is asserted from the file row's state, so wait for it after adding a file rather than assuming the upload is instant.
Path testFile = Path.of("/path/to/test.pdf");
upload.uploadFiles(testFile);
upload.assertHasFile("test.pdf");
// Wait for the row to report completion
upload.assertFileComplete("test.pdf");