Build, unit, integration and performance test instructions and the summary, the corrected scroll rule and the review on test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
Integration Test Instructions — contact-page
Browser checks on the production build (pnpm build && pnpm preview, port 4173), across pages and units. A scratchpad puppeteer script (puppeteer-core from Lighthouse CI's dependencies, local Chrome) ran them on 2026-10-25; they can be repeated by hand.
| # | Scenario | Expected |
|---|---|---|
| 1 | Soorten fotoshoots → "Stuur een berichtje" at Newborn (1440 / 390 px) | lands on /contact at the top, ?pakket= removed from the URL, Newborn preselected, gate mail subject "Aanvraag fotoshoot: Newborn" |
| 2 | Soorten fotoshoots → Loveshoot link, "Boek je shoot" | /contact |
| 3 | Over mij → "neem contact op", "Boek je shoot" | /contact |
| 4 | Homepage price card "Boek …" | stays on the homepage form (/?pakket=…#contact) |
| 5 | /contact at 320, 390, 768, 1024, 1440 px, scrolled to the end |
no horizontal overflow, CLS < 0.1 |
| 6 | Keyboard on /contact (1440 px) |
tab order: form (gate mail button) before the wide card |
| 7 | Served HTML and JSON-LD of /contact |
no e-mail address; ContactPage present |
| 8 | Network: /contact at 390–1023 px vs 1024+ px |
no request for contact.jpg below 1024 px; one request with priority High from 1024 px (LCP = the photo) |