Repository navigation
fix(ci): upgrade Cypress to 15.21.2 for Chrome 158 - #1497
Merged
Merged
Conversation
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>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Deploying with
|
| 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 |
Contributor
Contributor
Lighthouse baselineCompared with target branch
Download the full Lighthouse reports and baseline Commit |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Homepage_E2EandE2E Testsfail 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:Cause
Between specs, Cypress resets the browser with
Storage.clearDataForOriginandorigin: '*'. 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
cypressinapps/docsfrom^15.13.1to^15.21.2, which includes the backported fix (fix: support Chrome 158 (per-origin browser reset, keep unload events) cypress-io/cypress#35198). Theyarn.lockchanges are Cypress's own dependencies.allowCypressEnvoption set incypress.config.mjs.The
v13branch likely needs the same bump.🤖 Generated with Claude Code