Skip to content

chore: bump Cypress to work with Chrome 158 - #3484

Merged
janhenrikoverland merged 2 commits into
masterfrom
chore/bump-cypress-chrome-158
Dec 1, 2026
Merged

janhenrikoverland merged 2 commits into
masterfrom
chore/bump-cypress-chrome-158

Conversation

@janhenrikoverland

@janhenrikoverland janhenrikoverland commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Gets the e2e tests running on CI again. Same change as dhis2/dashboard-app#3370, plus the Node version it requires.

Cypress 13 -> 15.21.2. CI runs the tests in the current stable Chrome (158). With Cypress 13 the first spec in each job passes and Cypress then crashes when starting the next one:

Running:  dimensions/orgUnit.cy.js   (2 of 6)
Error: * is not a valid URL
...
Could not find Cypress test run results

Node 18 -> 20 in the workflows. Cypress 15 requires Node 20 or later, so yarn install --frozen-lockfile fails on Node 18 with The engine "node" is incompatible with this module. All workflows that still used node-version: 18.x now use 20.x, including release.yml; otherwise the release job would fail on install after this is merged.

This depends on the shared e2e workflow using current action versions, which was fixed in dhis2/workflows (feat/hardcoded-e2e-versions-im, commit b341f88). Before that, the jobs failed even earlier with Socket closed before the connection was established.

No app code is changed.


Quality checklist

Add N/A to items that are not applicable.

  • Dashboard tested — N/A (dev dependency and workflows only)
  • Cypress and/or Jest tests added/updated — N/A
  • Docs added — N/A
  • d2-ci dependency replaced — N/A
  • Tester approved (name) — N/A (verified by the e2e run on this PR)

🤖 Generated with Claude Code

@dhis2-dev-status

Copy link
Copy Markdown

Release check (trial)

Jira issue Missing
Issue type Missing
Expected commit type chore, refactor, perf, test, docs, ci, build (title uses chore ✓)
Issue target versions Missing
PR target version 2.44, 2.43.3 (frozen), 2.42.8, 2.41.12
PR fix version 2.44, 2.42.8, 2.41.12 (if merged now)
PR fixed app version No release of its own: chore cuts no release; the code ships with the next feat or fix
Frozen version Yes: patch/2.43.3 pins v101.6.5, so this reaches 2.43.3 only if the pin moves

@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@dhis2-bot

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-3484.data-visualizer.netlify.dhis2.org

@dhis2-bot
dhis2-bot temporarily deployed to netlify December 1, 2026 15:49 Inactive
@janhenrikoverland
janhenrikoverland merged commit e38b767 into master Dec 1, 2026
33 checks passed
@janhenrikoverland
janhenrikoverland deleted the chore/bump-cypress-chrome-158 branch December 1, 2026 23:15
@dhis2-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 101.6.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

This branch was previously deployed

1 inactive deployment
netlify — f4e35055 Deployed Dec 1, 2026 by dhis2-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants