[Code Coverage]Cannot find coverage file where cypress run with headless #22268
Unanswered
melonfarm2
asked this question in
Plugins
Replies: 1 comment 2 replies
-
Hi @melonfarm2, I'm facing the same issue. Were you able to resolve the issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have a question about code coverage. I was applying code coverage by referring to the document in the link below. https://docs.cypress.io/guides/tooling/code-coverage
When running the test directly through the command
cypress open
, '.Folder.nyc_output
andcoverage
are well created. However, if you test without a browser throughcypress run
, the above folder will not be created and the following message will appear.How do we solve this?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions