code-coverage
code-coverage copied to clipboard
Saves the code coverage collected during Cypress tests
- Closes https://github.com/cypress-io/code-coverage/issues/782 When testing cross-origin websites with `cy.origin()`, the following error gets thrown: `DOMException: Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.` This occurs when accessing...
**Logs and screenshots** > #### SecurityError > Failed to read a named property 'coverage' from 'Window': Blocked a frame with origin "http://localhost:4200" from accessing a cross-origin frame.  **Describe the...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [istanbul-lib-coverage](https://istanbul.js.org/) ([source](https://redirect.github.com/istanbuljs/istanbuljs/tree/HEAD/packages/istanbul-lib-coverage)) | [`3.0.0` -> `3.2.2`](https://renovatebot.com/diffs/npm/istanbul-lib-coverage/3.0.0/3.2.2) | [](https://docs.renovatebot.com/merge-confidence/) |...
I am running a cypress project that does not set "baseUrl" in our config file for various reasons. I am trying to add the code-coverage plugin, but only for front...
This PR corrects the type definition on typescript to reflect the actual behaviour of the task  that returns the given config and not a void.
Remove the constant reading and writing of the coverage object to disk for each test. Keep it in memory and then write it once after each suite to get the...
I'm upgrading to Vue 3 via Nuxt 3, which pretty much forces me into Vite. (I wish it weren't so.) I'd like to maintain code coverage. I think this package...
This merge request allows skipping the hooks to generate code coverage reports by using the test config object. ## **Problem Statement:** I had a test that was consistently failing due...
I recently upgraded the Cypress version to `13.6.1` from `9.6.x` and the coverage reports stopped working. Followed all the steps mentioned in this guide https://docs.cypress.io/guides/tooling/code-coverage#E2E-code-coverage Debug Log ``` code-coverage combined...
This PR introduces the ability to configure nyc through environment variables, requiring the maintenance of one less configuration file. Such as: `NYC_CONFIG="{\"report-dir\":\"coverage/cypress\",\"temp-dir\":\"coverage/temp\"}" npm run your:testing:task`