Skip to content

Web App is Not Instrumented Warning is being displayed Even for App with just Backend Code Coverage #372

Closed
@mtapdilli

Description

@mtapdilli

Logs and screenshots
no-cov-info

Versions

  • What is this plugin's version? "@cypress/code-coverage": "^3.8.8"
  • What is Cypress version? - "cypress": "^5.6.0"
  • What is your operating system? - Windows
  • How do you instrument your application? Cypress does not instrument web application code, so you need to do it yourself. - "nyc": "nyc nodemon server.js"
  • When running tests, if you open the web application in regular browser, and open DevTools, do you see window.__coverage__ object? Can you paste a screenshot? - No. This application is just a backend app with express server.

Describe the bug :
Seeing the warning [screenshot attached above] When executing the API tests [ For Express server ] using @cypress/code-coverage for code coverage. Report generation seems to be working fine. Raising the issue as requested by @bahmutov

gleb-issue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions