5 Commits
Author SHA1 Message Date
SluijsensandClaude Sonnet 5.5 a1444b7b2a Adds the captcha frame hosts to the CSP and handles a widget that cannot load
frame-src gets the three exact Friendly Captcha global hosts (no wildcard).
When the widget errors, is blocked or shows no sign of life, the form says so
and offers the mail button instead of blocking silently. Adds an e2e for the
form with a mocked API, a draft privacy text for approval, and label tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:27:29 +01:00
SluijsensandClaude Opus 5.5 c4348ecd3a Counts only visible headings in the 404 hydration test
Continuous Integration / check (pull_request) Successful in 1m44s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m45s
Continuous Integration / deploy-production (pull_request) Skipped
On the catch-all 404 page the router shows its pending copy for 500 ms while
the server copy stays hidden with display:none. The test counted h1 elements in
that window and found the hidden one on the faster PC runner. It now counts what
a visitor or screen reader gets, then checks that the hidden copy is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:49:22 +01:00
SluijsensandClaude Opus 5.5 38708b8439 Compares the preview server with real nginx in tests
The preview server must behave like the real server, or Lighthouse and the
browser tests prove the wrong thing. The tests also cover the new URLs in a real
browser: one redirect, one title, a clean hydration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:30:08 +01:00
SluijsensandClaude Opus 5.5 a68e84c3bb Removes plan references from the new comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:20:39 +01:00
SluijsensandClaude Opus 5.5 8bf0000531 Adds browser tests and fixes hydration of the 404 page
The prerendered 404 page is served for other URLs, so its dehydrated match id
differs and the router renders the catch-all's pending component first. Without
one that render was empty, which gave React error 418 and duplicate head tags.
The tests run the built output in a real browser under the production CSP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:03:07 +01:00