Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Next.js 15 for Component Testing #30445

Closed
MikeMcC399 opened this issue Oct 23, 2024 · 4 comments · Fixed by #30654, cypress-io/cypress-documentation#6008 or cypress-io/cypress-component-testing-apps#37
Assignees
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 type: feature New feature that does not currently exist

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Oct 23, 2024

What would you like?

Support Next.js 15 for Component Testing when React 19 is released.

Why is this needed?

Next.js 15 was announced on Oct 21, 2024 as stable, however it currently depends on React 19 RC.

Other

$ npm view next version
15.0.3

React 19 is currently available only as an RC version.

$ npm view react dist-tags
{
  latest: '18.3.1',
  beta: '19.0.0-beta-26f2496093-20240514',
  experimental: '0.0.0-experimental-b01722d5-20241114',
  canary: '19.0.0-rc-b01722d5-20241114',
  next: '19.0.0-rc-b01722d5-20241114',
  rc: '19.0.0-rc-b01722d5-20241114'
}

See https://docs.cypress.io/app/component-testing/get-started#Supported-Frameworks

image

@jennifer-shehane jennifer-shehane added CT Issue related to component testing type: feature New feature that does not currently exist labels Oct 23, 2024
@MikeMcC399 MikeMcC399 changed the title Support Next.Js 17 for Component Testing Support Next.Js 15 for Component Testing Oct 24, 2024
@MikeMcC399 MikeMcC399 changed the title Support Next.Js 15 for Component Testing Support Next.js 15 for Component Testing Oct 31, 2024
@jennifer-shehane jennifer-shehane added the Cypress 14 Issues scoped for Cypress 14 label Nov 13, 2024
@jennifer-shehane jennifer-shehane moved this to Designing / Scoping in Cypress App Priorities Nov 13, 2024
@AtofStryker AtofStryker self-assigned this Nov 20, 2024
@github-project-automation github-project-automation bot moved this from Designing / Scoping to Generally Available in Cypress App Priorities Nov 21, 2024
@jennifer-shehane jennifer-shehane moved this from Generally Available to Building in Cypress App Priorities Dec 12, 2024
@khai-pi
Copy link

khai-pi commented Dec 30, 2024

Hi, does Cypress supports Nextjs 15, i tried to test a component in Nextjs 15.1.2 and i have this following warning
image

@MikeMcC399
Copy link
Contributor Author

@khai-pi

Hi, does Cypress supports Nextjs 15, i tried to test a component in Nextjs 15.1.2 and i have this following warning

You'll need to wait for the Cypress 14 release.

The currently supported versions are listed on https://docs.cypress.io/app/component-testing/get-started#Supported-Frameworks

@khai-pi
Copy link

khai-pi commented Dec 30, 2024

Thanks for the information :)

@AlonMiz
Copy link

AlonMiz commented Jan 7, 2025

adding this for reference as currently it has memory issues
cypress-io/github-action#1338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 type: feature New feature that does not currently exist
Projects
Status: Building
5 participants