Files
SluijsensandClaude Opus 5.5 2246986d77
Continuous Integration / check (pull_request) Successful in 13m30s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 14m13s
Continuous Integration / deploy-production (pull_request) Skipped
Marks the portfolio page as built and tested
Records the build and test results (full suite, integration scenarios,
Lighthouse in CI and locally) and completes the feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:25:19 +01:00

1.5 KiB

Integration Test Instructions — Portfolio Page

The units meet in the route tests (web/src/app.test.tsx, real route tree and router) and in PortfolioGallery.test.tsx; both run in pnpm test.

Scenarios

# Units Scenario Covered by
1 1 + 3 /portfolio and / both render the shared InstagramGrid; without a valid Instagram link it is left out app.test.tsx (portfolio, homepage)
2 2 + 3 Filter → grid → lightbox: filtered list, caption from the shoot type, counter within the filter, lightbox closes on a filter change PortfolioGallery.test.tsx
3 3 + router ?shoot=gezin starts filtered; onzin, loveshoot, <script> show "Alles"; choosing a filter replaces the URL (no history entry); canonical without parameters app.test.tsx
4 3 + Soorten fotoshoots "Bekijk meer …foto's" only for newborn, zwangerschap, gezin while /portfolio is indexed app.test.tsx (shoot types page)
5 3 + SEO registry /portfolio indexed, in the sitemap and in Lighthouse's indexed paths (sync test) app.test.tsx, sitemap.test.ts
6 2 + hero Hero swipe and wrap unchanged after moving to useSwipe / wrapIndex Hero tests (unchanged)

Manual check on test

After deploy_test (done: run 580), open https://test.andreaslop.nl/portfolio on desktop and phone: masonry 1/2/3 columns without shifting, filter row on one line, lightbox (tap, swipe, bottom bar on phones, Escape, focus back to the photo), and the three links on /soorten-fotoshoots.