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
Description of what is to be accomplished.
There is an existing bug in istanbul-lib-coverage which is a dependecy of @cypress/code-coverage (that our reports use) which causes cypress to throw the following error while running locally
CypressError: `cy.task('coverageReport')` failed with the following error:
> Cannot read property 'loc' of undefined
https://on.cypress.io/api/task
Because this error occurred during a `after all` hook we are skipping all of the remaining tests.
Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail
solutions can be found cypress-io/code-coverage#216, but it seems that bumping up version of istanbul-lib-coverage solves it. We should update our @cypress/code-coverage version which uses a more recent version of istanbul-lib-coverage that has a fix for this issue.
Parent Issue: #9999
Sub-Tasks
Update @cypress/code-coverage version
Run integration test locally to confirm resolution
Notes
Some complementary notes if necessary:
Here goes a quote from an email
Here goes whatever useful information can exist…
More notes, or technical nuances/direction
The text was updated successfully, but these errors were encountered:
seyilonge-nci
changed the title
Update versions of cypress/code-coverage and istanbul-lib-coverage
Update version of @cypress/code-coverage
Jan 20, 2022
Description of what is to be accomplished.
There is an existing bug in istanbul-lib-coverage which is a dependecy of @cypress/code-coverage (that our reports use) which causes cypress to throw the following error while running locally
solutions can be found cypress-io/code-coverage#216, but it seems that bumping up version of istanbul-lib-coverage solves it. We should update our @cypress/code-coverage version which uses a more recent version of istanbul-lib-coverage that has a fix for this issue.
Parent Issue: #9999
Sub-Tasks
@cypress/code-coverage
versionNotes
Some complementary notes if necessary:
The text was updated successfully, but these errors were encountered: