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>
1.6 KiB
1.6 KiB
Unit Test Execution — soorten-fotoshoots-page
cd web
pnpm test # vitest run --coverage
- Expected: 65 files, 325 tests, 0 failures (at d12665c; 60 files / 273 tests on master before this feature, plus 6 from contact-page's cherry-picked
webPage()tests) - Coverage: thresholds met;
src/lib/andsrc/seo.tsat 100%; overall 92.4% of statements - Includes, new in this feature:
shootTypescontent: ids and order, existing package ids, frame colours that exist in the theme, alt texts, 4:5 photosFramedImage(frameColor) andMediaText(reverse,mediaSize,detailImage), with the existing callers unchanged; the generated CSS rules are read withsrc/test/cssRules.ts, since jsdom applies neither media queries nor pseudo-elementsCallToAction,RichParagraph(moved),Pricinganchor#prijzenShootBlockandShootList: articles with anchors, link targets and names, alternation, bands, priority photo, axe- the
/soorten-fotoshootsroute through the real route tree: outline, articles, contact links incl.?pakket=, portfolio links only when/portfoliois indexed, head tags,WebPageJSON-LD - property-based tests (fast-check):
shootContactLink(only a visible package's id goes into?pakket=, always the contact section),shootPortfolioLink,areaServed(named areas in order, only towns and regions),shootServices(one service per shoot in order, distinct anchor@ids, provider and area, first paragraph, no e-mail or prices),absoluteUrl(invariant and idempotency)
- Report: terminal output plus
web/coverage/