# Integration Test Instructions — over-mij-page Unit 1 (shared blocks) and unit 2 (the page) meet in two places: the homepage, which now uses `PageSection` and `MediaText`, and `/over-mij`, which uses the same blocks and links back to the homepage contact section. ## Automated (in `pnpm test`) - `src/app.test.tsx`: the homepage section order and axe check (unchanged by unit 1), `/over-mij` through the real route tree - `src/sitemap.test.ts` and the Lighthouse sync test: `/over-mij` is indexed in `sitePages.ts`, in the sitemap and in the Lighthouse indexed paths ## In a real browser (production build) Run against `pnpm build && pnpm preview --port 4173`, with headless Chrome via the puppeteer-core and chrome-launcher that Lighthouse already installs. Use a desktop viewport of 1440 × 900 and a phone emulation of 390 × 844. | # | Scenario | Expected | |---|---|---| | 1 | On `/over-mij`, click "neem contact op" and "Boek je shoot" (1440 and 390 px) | URL `/#contact`; Contact's top edge lines up with the bottom of the sticky header | | 2 | On `/`, click "Lees meer" (hero) and "Lees mijn verhaal" (about block) | `/over-mij` at scroll position 0, h1 "Over mij", page title "Over mij – fotograaf in Huizen \| Andrea Slop Fotografie" | | 3 | Rendered DOM of `/over-mij` | Headings h1 Over mij → h2 Hoi! Ik ben Andrea → h3 Hoe het begon, h3 Buiten de camera om; sections named by their heading (the page head and the photos are not named regions) | | 4 | Structured data and head | `AboutPage.mainEntity` is the Person; `business.founder` and `Person.worksFor` point at each other by `@id`; no robots meta; canonical `https://andreaslop.nl/over-mij`; `og:image` `/og-over-mij.jpg` | | 5 | E-mail address | Not in the served HTML and not in the JSON-LD. The footer assembles it in the browser on purpose (since frontend-shell), so it does show in the rendered DOM. | | 6 | Scroll `/over-mij` top to bottom (1440 and 390 px) | Cumulative layout shift < 0.1; all three photos loaded, each with width, height and alt | | 7 | `/` and `/over-mij` at 320, 390, 768, 1024 and 1440 px | `scrollWidth === innerWidth`: no horizontal overflow | | 8 | Tab through `/over-mij` | "mijn portfolio", "neem contact op" and "Boek je shoot" are reached in that order with a ≥ 2 px focus ring; the button is ≥ 44 px high |