Repository navigation
fix(ci): pin chrome for testing to 157 in e2e CI - #206
Open
amadulhaxxani wants to merge 1 commit into
Open
amadulhaxxani wants to merge 1 commit into
amadulhaxxani wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the temporary Chrome 157 pin intended to avoid the reported Cypress crash on Chrome 158.
No open issues 🎉
What changed in this PR
Pins Chrome for Testing in the e2e CI workflow to major version 157 as a temporary workaround for the reported Cypress crash on Chrome 158.
Changes:
- Replaces the latest-browser default with an explicit Chrome 157 pin.
- Adds a comment explaining the compatibility issue and when to remove the pin after upgrading Cypress.
| File | Description |
|---|---|
.github/workflows/build.yml |
Pins the e2e browser version and documents the temporary workaround. |
Review effort: Balanced
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.
Problem description
Since Nov 18 the e2e tests on clarin-v7 fail every time. Cypress stops at the second spec with
Error: * is not a valid URL, so nothing actually gets tested.Analysis
CI always installs the latest Chrome for Testing, and that moved from 157 to 158. Our Cypress (13.17.0) crashes on Chrome 158, known issue: cypress-io/cypress#35195. The same commit passed with Chrome 157 on Nov 17 and failed with 158 on Nov 18.
So I pinned Chrome to 157, same as dataquest did in dataquest-dev#1735 / DSpace#1739. It's a temporary fix, the pin can go once we upgrade Cypress.
Copilot review