cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.1k stars 3.19k forks source link

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

Open AtofStryker opened 3 days ago

AtofStryker commented 3 days ago

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