You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs and screenshots
Please provide debug logs by running Cypress from the terminal with DEBUG=code-coverage environment variable set. See the Debugging section of the README file.
Versions
What is this plugin's version? If this is NOT the latest released version, can you try the latest version, please? Latest
If the plugin worked before in version X but stopped after upgrading to version Y, please try the released versions between X and Y to see where the breaking change was.
What is the Cypress version? Cypress package version: 13.6.6
Cypress binary version: 13.6.6
Electron version: 27.1.3
What is your operating system? mac os
What is the shell? Zsh
What is the Node version? Bundled Node version: 18.17.1
When running tests, if you open the web application in a regular browser and open DevTools, do you see window.__coverage__ object? Can you paste a screenshot? Yes I can see it.
Is there a .nyc_output folder? Is there a .nyc_output/out.json file? Is it empty? Can you paste at least part of it so we can see the keys and file paths? It's not empty
Do you have any custom NYC settings in package.json (nyc object) or in other NYC config files? No
Do you run Cypress tests in a Docker container? No
Describe the bug
NYC reports and counters are generated but the code coverage HTML file is empty. The window.coverage object is present.
Logs and screenshots
Please provide debug logs by running Cypress from the terminal with
DEBUG=code-coverage
environment variable set. See the Debugging section of the README file.Versions
If the plugin worked before in version X but stopped after upgrading to version Y, please try the released versions between X and Y to see where the breaking change was.
What is the Cypress version?
Cypress package version: 13.6.6
Cypress binary version: 13.6.6
Electron version: 27.1.3
What is your operating system? mac os
What is the shell? Zsh
What is the Node version?
Bundled Node version: 18.17.1
What is the NPM version?
10.5.0
How do you instrument your application? Cypress does not instrument web application code, so you must do it yourself. https://istanbul.js.org/ instanbul tool latest
When running tests, if you open the web application in a regular browser and open DevTools, do you see
window.__coverage__
object? Can you paste a screenshot? Yes I can see it.Is there a
.nyc_output
folder? Is there a.nyc_output/out.json
file? Is it empty? Can you paste at least part of it so we can see the keys and file paths? It's not emptyDo you have any custom NYC settings in
package.json
(nyc
object) or in other NYC config files? NoDo you run Cypress tests in a Docker container? No
Describe the bug
NYC reports and counters are generated but the code coverage HTML file is empty. The window.coverage object is present.
Link to the repo
(https://github.com/Isurunc/Cypress_CodeCoverage_ReactApp/tree/master)
my issue is similar to #227
The text was updated successfully, but these errors were encountered: