nyc icon indicating copy to clipboard operation
nyc copied to clipboard

Code coverage for E2E automation tests

Open arunakiran401 opened this issue 1 year ago • 1 comments

Link to bug demonstration repository

How do we integrate this for tracking code coverage for E2E automation tests. The documentation is not clear on how to do it.

Expected Behavior

For example : I have UI repo which has the code to run my UI application. I have automation repo separately to run E2E browser test using webdriver.io or selenium.

In the above scenario , how do I use istanbul to check the code coverage ( what we need to is , are the E2E browser tests are covering my code ?)

Observed Behavior

Troubleshooting steps

  • [ ] still occurring when I put cache: false in my nyc config

Environment Information

# paste the output here

arunakiran401 avatar Jun 13 '24 20:06 arunakiran401