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

Code Frames do not work with Next.js 15 Component Testing #30667

Open
AtofStryker opened this issue Nov 22, 2024 · 1 comment
Open

Code Frames do not work with Next.js 15 Component Testing #30667

AtofStryker opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
topic: next Topics related to Next Component Testing

Comments

@AtofStryker
Copy link
Contributor

Current behavior

With the Next.js 15 update, it looks like error code frames are not working with Cypress 14. Next.js 15 is using webpack 5.96.1 so something with source maps is likely off
Uploading Screenshot 2024-11-22 at 10.50.20 AM.png…

Desired behavior

I should be able to see where in the test code the test failed similar to Next 14
Screenshot 2024-11-22 at 10 53 37 AM

Test code to reproduce

use the create-nuxt-app and install te Cypress 14 prerelease binary

Cypress Version

14.0.0

Node version

20.18.0

Operating System

N/A

Debug Logs

No response

Other

No response

@AtofStryker AtofStryker added topic: next Topics related to Next Component Testing Cypress 14 Issues scoped for Cypress 14 labels Nov 22, 2024
@AtofStryker AtofStryker self-assigned this Nov 22, 2024
@AtofStryker
Copy link
Contributor Author

The current plan is this fix will not be shipped with 14, but we can follow up with an investigation and determine the effort to fix the code frames

@AtofStryker AtofStryker removed the Cypress 14 Issues scoped for Cypress 14 label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: next Topics related to Next Component Testing
Projects
None yet
Development

No branches or pull requests

1 participant