Skip to content

test that nothing covers the homepage hero when the icon CDN is unreachable - #508

Merged
gerardrecinto merged 1 commit into
masterfrom
site-check-icon-cdn-down
Oct 6, 2026
Merged

gerardrecinto merged 1 commit into
masterfrom
site-check-icon-cdn-down

Conversation

@gerardrecinto

@gerardrecinto gerardrecinto commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

The homepage was a black screen for about 9 hours. The full-screen boot overlay was only removed after the icon script and the WASM engine started in order. When the icon library failed to load, startup threw before the engine started and the overlay stayed up. The page still returned 200, so nothing flagged it. #507 fixed the startup order and scoped the overlay.

This adds a Playwright test to the homepage suite. It blocks unpkg.com, loads the page, and checks the h1 is the topmost element at its own position. It runs in the existing E2E workflow on every PR that touches demo/**.

Checked locally in chromium: it passes on current master and fails on the homepage from before #507 (headline covered).

This does not watch the live site after a deploy. A post-deploy check against joltrinhq.com would be a separate change.

Thanks, Gerard Recinto

…chable

The boot overlay used to stay up for good if the icon script failed to
load, which left the homepage a black screen that still returned 200.
This blocks unpkg.com and checks the headline is the topmost element at
its own position. It fails on the homepage from before #507.
@gerardrecinto
gerardrecinto force-pushed the site-check-icon-cdn-down branch from 079daf7 to f685097 Compare October 5, 2026 22:15
Comment thread tests/homepage.spec.ts
test('nothing covers the hero when the icon CDN is unreachable', async ({ page }) => {
// The boot overlay once stayed up for good after the icon script failed to load,
// and the homepage was a black screen that still answered 200.
await page.route(/unpkg\.com/, (route) => route.abort());
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Gemini PR Review

Reviewed commit: f6850973bc6e93b7d50ce61319de76ef76a35c16
Verdict: PASS

@gerardrecinto
gerardrecinto merged commit 35a56f8 into master Oct 6, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants