Full pnpm check at d12665c passed (325 tests, Lighthouse within budget)
and 19 browser checks against the production build passed. Adds the
build and test instructions and summary, marks the feature complete
and logs the session in the audit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.8 KiB
2.8 KiB
Integration Test Instructions — soorten-fotoshoots-page
Unit 1 (shared blocks, shoot types, service area) and unit 2 (the page) meet on the shoot types page, on the homepage (the pricing anchor and the contact section the shoot links lead to) and on Over mij (which uses the extended MediaText with its defaults).
Automated (in pnpm test)
src/app.test.tsx:/soorten-fotoshoots,/and/over-mijthrough the real route treesrc/sitemap.test.tsand the Lighthouse sync test:/soorten-fotoshootsindexed insitePages.ts, in the sitemap and in the Lighthouse indexed and photo-page paths
In a real browser (production build)
Run against pnpm build && npx vite preview --port 4180 --strictPort (a port other than 4173, which Lighthouse uses), with headless Chrome via the puppeteer-core that Lighthouse already installs. Desktop viewport 1440 × 900, phone 390 × 900. The one-off script used for this run lives in the session scratchpad (integration.mjs); the scenarios below are what it checks.
| # | Scenario | Expected |
|---|---|---|
| 1 | Click Newborn's "Stuur een berichtje" (1440 and 390 px) | href /?pakket=newborn#contact; on the homepage the form has Newborn selected, the URL becomes /#contact (ContactSection removes ?pakket= by design) and Contact's top lines up with the sticky header's bottom |
| 2 | Click Loveshoot's "Stuur een berichtje" | /#contact without a package, lands below the header |
| 3 | Click "de pakketten" in the closing block | /#prijzen, the pricing section lands below the header |
| 4 | Click "Boek je shoot" | /#contact |
| 5 | Open /soorten-fotoshoots#gezin |
the Gezin article lands below the header |
| 6 | Main menu "Soorten fotoshoots" from / |
/soorten-fotoshoots at scroll 0, h1 "Soorten fotoshoots", title "Soorten fotoshoots | Andrea Slop Fotografie" |
| 7 | Rendered DOM | h1 → h2 Newborn, Zwangerschap, Gezin, Loveshoot, Portretten → h2 "Benieuwd naar de prijzen?"; every article named by its h2 |
| 8 | Structured data and head | WebPage with an ItemList of 5 Services, @id = page URL + anchor, provider = the business @id; the business's areaServed is Huizen + Gooi en Vechtstreek; no prices; no robots meta; canonical and og:image /og-soorten-fotoshoots.jpg |
| 9 | E-mail address | not in the served HTML and not in the JSON-LD |
| 10 | Scroll the page top to bottom (1440 and 390 px) | CLS < 0.1; all 10 photos (5 main, 5 detail) loaded, each with alt, width and height |
| 11 | /, /over-mij, /soorten-fotoshoots at 320, 390, 768, 1024 and 1440 px |
scrollWidth ≤ innerWidth: no horizontal overflow |
| 12 | Tab through the page's main content | the 5 contact links (by their full accessible name), "de pakketten", "Boek je shoot", in that order, each with a ≥ 2 px focus ring; contact links and the button ≥ 44 px high |