Skip to content

fix(ci): upgrade Cypress to 15.21.2 for Chrome 158 - #1497

Merged
fhammerschmidt merged 1 commit into
v12from
fix/cypress-chrome-158
Dec 3, 2026
Merged

fhammerschmidt merged 1 commit into
v12from
fix/cypress-chrome-158

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

Homepage_E2E and E2E Tests fail on every PR since the GitHub runners moved to Chrome 158 (for example #1495 and #1496). The first spec passes, then Cypress aborts while opening the second one:

Running:  HomepageFontBreakpoints.cy.jsx  (2 of 12)
Error: * is not a valid URL
##[error]Could not find Cypress test run results

Cause

Between specs, Cypress resets the browser with Storage.clearDataForOrigin and origin: '*'. Chrome 158 rejects that origin, and Cypress 15.13.1 treats the error as fatal (cypress-io/cypress#35195). The last passing run I found used Chrome 156 with the same Cypress version.

Change

The v13 branch likely needs the same bump.

🤖 Generated with Claude Code

Chrome 158 rejects the `Storage.clearDataForOrigin` call with
`origin: '*'` that Cypress sends when it resets the browser between
specs. Cypress 15.13.1 treats that as fatal, so `cypress run` aborts on
the second spec with "* is not a valid URL" in Homepage_E2E and E2E
Tests.

Cypress fixed this in cypress-io/cypress#35198 and backported it to
15.21.2. Staying on 15.x avoids the breaking changes of Cypress 16, such
as the removed `allowCypressEnv` option that our config sets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T12:36:03.223132Z be2f768 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
guide be2f768 Commit Preview URL

Branch Preview URL
Dec 03 2026, 12:36 PM

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Docs preview

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Lighthouse baseline

Compared with target branch v12 at commit 6e40dc7. Scores are the median of 3 runs against the deployed Cloudflare preview.

Category Target Current Change
Performance 77 84 +7
Accessibility 80 80 0
Best practices 100 100 0
SEO 100 66 -34

Download the full Lighthouse reports and baseline

Commit 9d8607f · Cloudflare preview

@fhammerschmidt
fhammerschmidt merged commit 7405c05 into v12 Dec 3, 2026
11 checks passed
@fhammerschmidt
fhammerschmidt deleted the fix/cypress-chrome-158 branch December 3, 2026 12:53

This branch was successfully deployed

2 active deployments
preview — be2f7686 Deployed Dec 3, 2026 by github-actions[bot]
guide-preview — be2f7686 Deployed Dec 3, 2026 by github-actions[bot]
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.

1 participant