Skip to content

feat: support Cypress 16 - #193

Merged
bmordue merged 1 commit into
component-driven:masterfrom
esetnik:feat/support-cypress-16
Sep 3, 2026
Merged

feat: support Cypress 16#193
bmordue merged 1 commit into
component-driven:masterfrom
esetnik:feat/support-cypress-16

Conversation

@esetnik

@esetnik esetnik commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Cypress 16.0.0 is out, but peerDependencies stops at ^15, so installing cypress-axe alongside it produces an unmet peer warning. Fixes #192.

Changes

  • package.json — add ^16 to the cypress peer range.
  • .github/workflows/node.js.yml — add 16 to the cypress-version matrix, so support is exercised in CI rather than only declared.

This mirrors #187 ("feat: support Cypress 15") in both shape and commit type, so semantic-release will cut a minor.

Verification

Ran this branch locally against cypress@16.0.0 on Chrome 152 / Node 24:

│ Cypress:  16.0.0                 │
│ Browser:  Chrome 152 (headless)  │
   ✔  All specs passed!   1 test

I also checked cypress-axe's source against the APIs v16 removed — Cypress.env(), cy.exec(), cy.end(), experimentalSourceRewriting, allowCypressEnv — and none are used, which is consistent with the suite passing unchanged.

One thing worth a maintainer's eye

Cypress 16 requires Node 22.x, 24.x, or 26+. The matrix uses node-version: [lts/*, lts/-1], which currently resolves to 24 and 22, so the new leg should be fine — but that is the one part of this change that could go red if lts/-1 resolves lower in your runners.

🤖 Generated with Claude Code

Cypress 16 is released, but the peerDependencies range stops at ^15, so
installing cypress-axe alongside it produces an unmet peer warning.

Widen the range to include ^16 and add 16 to the CI matrix so support is
actually exercised rather than just declared.

Verified locally against cypress@16.0.0 on Chrome 152 (Node 24): the
existing suite passes unchanged, and cypress-axe's source uses none of
the APIs v16 removed (Cypress.env(), cy.exec(), cy.end()).

Closes component-driven#192

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bmordue
bmordue merged commit 2917638 into component-driven:master Sep 3, 2026
14 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.

Add support for Cypress version 16

2 participants