AI Unified Process plugin for the Vaadin/jOOQ stack
86
91%
Does it follow best practices?
Impact
86%
1.10xAverage score across 13 eval scenarios
Low
Low-risk findings worth noting
The clinic's Vaadin application has a documented end-to-end test case for its most important user journey: TC-002 Patient Intake, in docs/test_cases/TC-002-patient-intake.md. A receptionist registers a new patient on the Patients view (UC-020) and books the patient's first appointment on the Appointments view (UC-021); booking the first appointment activates the patient.
Automate this test case in the browser with Playwright. The test case document is the authority: follow its Flow table step by step with the exact values from the Test Data column, and assert its Validation section at the end. The linked use case specifications in docs/use_cases/ define each view's routes, labels, buttons, and notifications.
Two complications are documented in the use case specs:
Use the Drama Finder element library — the API reference is provided in references/dramafinder-api.md. The practitioner from the preconditions is pre-loaded by Flyway test migration V901__test_data_practitioners.sql. You do not have a running application — write the test code only.
Produce a single Java test file:
src/test/java/com/example/clinic/e2e/TC002PatientIntakeIT.javaThe file must contain one complete, runnable Playwright test class that walks the whole TC-002 journey — all four Flow steps in order across both views, followed by the two Validation checks — and cleans up the data the journey created in the correct order. The test must be executable with ./mvnw verify -Pit.
Do NOT include a pom.xml or any build file — the test class only.