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

orchestrate e2e test coverage reporting for cypress #795

Open
travisbloom-cb opened this issue Apr 24, 2024 · 1 comment
Open

orchestrate e2e test coverage reporting for cypress #795

travisbloom-cb opened this issue Apr 24, 2024 · 1 comment
Assignees

Comments

@travisbloom-cb
Copy link
Contributor

travisbloom-cb commented Apr 24, 2024

See these docs.

We have a paid cypress.io account so if there's any best practices for integrating our coverage with that suite we'll want to leverage.

@eduardopicolo-cb
Copy link
Contributor

Currently there's no way to instrument the code, as NextJS uses a custom transpiler which is incompatible with existing plugins.

Downgrading to Babel is not an option because most of the cutting-edge Nextjs features will stop working, like the App Router and Font Optimization:
image


Potential Solution to keep an eye on:

There is an open source plugin that works with SWC transpiler, but unfortunatelly it does not work with App Router:
image

Some issues to keep an eye on:
vercel/next.js#53901
istanbuljs/babel-plugin-istanbul#285

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

No branches or pull requests

2 participants