Skip to content

fix(ci): use Chrome for Testing for e2e tests - #187

Merged
kosarko merged 1 commit into
clarin-v7from
186-ci-cypress-e2e-failures-caused-by-chrome-155-runner-update
Oct 20, 2026
Merged

kosarko merged 1 commit into
clarin-v7from
186-ci-cypress-e2e-failures-caused-by-chrome-155-runner-update

Conversation

@amadulhaxxani

Copy link
Copy Markdown

Problem description

Fixes #186. Since GitHub's Ubuntu runner image updated Chrome from 154 to 155 on 2026-10-13, e2e tests fail on every scheduled and PR build, even on the unchanged commit d4868c36a8.

Analysis

Port of the CI part of upstream DSpace#6378 (.github/workflows/build.yml only):

  • Removed the apt-get "Install Chrome" step and the unused CHROME_VERSION comment.
  • Added browser-actions/setup-chrome@v2 (Chrome for Testing) before the e2e step.
  • Changed the Cypress browser: chrome to browser: chrome-for-testing.

Problems

Cypress code is intentionally untouched. If this change alone does not fix the e2e failures, the DiscoJuice login wait in cypress/support/commands.ts will be fixed in a follow-up.

Sync verification

N/A (no translation files changed).

  • Run yarn run sync-i18n -t src/assets/i18n/cs.json5 -i to synchronize messages, and changes are included in this PR.

Manual Testing (if applicable)

N/A (verified by this PR's CI run).

Copilot review

  • Requested review from Copilot

Fixes #186. Ports DSpace#6378 to prevent failures caused by GitHub runner Chrome updates.
Copilot AI balanced review requested due to automatic review settings October 19, 2026 11:32
@amadulhaxxani amadulhaxxani linked an issue Oct 19, 2026 that may be closed by this pull request

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

The workflow change is compatible with the locked Cypress version, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Updates CI browser provisioning to address runner Chrome-related e2e failures without changing Cypress test code.

Changes:

  • Replaces apt-based Chrome installation with browser-actions/setup-chrome@v2.
  • Selects chrome-for-testing for Cypress runs.
  • Removes obsolete Chrome version configuration comments.
File Description
.github/​workflows/​build.yml Installs Chrome for Testing and selects it for e2e tests.

Review effort: Balanced

@amadulhaxxani
amadulhaxxani requested a review from kosarko October 19, 2026 12:15
@kosarko
kosarko merged commit 9b0bd20 into clarin-v7 Oct 20, 2026
7 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.

CI: Cypress e2e failures caused by Chrome 155 runner update

3 participants