Files
SluijsensandClaude Opus 5.5 8d8cbdb72c
Continuous Integration / check (pull_request) Successful in 9m57s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 3m46s
Continuous Integration / deploy-production (pull_request) Skipped
Aligns the page edges with the design and fixes the Contact anchor offset
The content column now uses the design's gutter as side padding instead
of Chakra's 16/24/32px. The Lifestyle fotografie row on phones bled out by
the gutter, so the page was 4px too wide and Chrome zoomed out slightly.
The header drops its extra padding and the to-top button follows the
gutter, so logo, hero controls and content share one edge. Anchored
sections now scroll to the height of the shrunken header, so Contact
lands right below it instead of 24px lower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:46:08 +02:00

1.5 KiB

Integration Test Instructions — homepage-sections

The six units are sections of one page, so "integration" means how they behave together on the real homepage.

Automated (in pnpm test, src/app.test.tsx)

  • Section order: Hero → Lifestyle fotografie → Over mij → Prijzen → Lieve woorden → Contact → Instagram, exactly one h1, axe clean on the whole page
  • Prijzen → Contact: a click on "Boek Newborn" scrolls to #contact and selects Newborn. A ?pakket= link selects the package, tidies the URL and focuses Contact.
  • siteContent → Instagram: the section is absent when the Instagram link is missing or not https

In a real browser (production build)

Run against pnpm build && pnpm preview, with headless Chrome (puppeteer-core and chrome-launcher are already installed as Lighthouse dependencies) or by hand, at 1440 px and at an emulated 390 px phone:

# Scenario Expected
1 Scroll the whole homepage in steps Cumulative layout shift < 0.1 (measured 0.0008 / 0)
2 Each "Boek …" button, starting from the top Contact's top edge lines up with the bottom of the (shrunken) header, the select shows the package, the URL ends in /#contact
3 Tab from the Instagram handle to the first tile 2px focus ring visible on top of the neighbouring tiles; the photo zooms in
4 Every page at 320, 390, 768, 1024 and 1440 px scrollWidth === innerWidth: no horizontal overflow
5 Network panel while scrolling the homepage The Instagram section requests no new images