Skip to content

fix(ci): pin chrome for testing to 157 in e2e CI - #206

Open
amadulhaxxani wants to merge 1 commit into
clarin-v7from
fix/ci-pin-chrome-157
Open

amadulhaxxani wants to merge 1 commit into
clarin-v7from
fix/ci-pin-chrome-157

Conversation

@amadulhaxxani

@amadulhaxxani amadulhaxxani commented Nov 25, 2026 •

Copy link
Copy Markdown

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

  • Requested review from Copilot

Copilot AI balanced review requested due to automatic review settings November 25, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

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