Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version of @cypress/code-coverage #463

Open
2 tasks
kate-mashkina opened this issue Jan 20, 2022 · 1 comment · May be fixed by #464
Open
2 tasks

Update version of @cypress/code-coverage #463

kate-mashkina opened this issue Jan 20, 2022 · 1 comment · May be fixed by #464
Assignees
Labels

Comments

@kate-mashkina
Copy link
Contributor

kate-mashkina commented 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


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
@seyilonge-nci seyilonge-nci changed the title Update versions of cypress/code-coverage and istanbul-lib-coverage Update version of @cypress/code-coverage Jan 20, 2022
@sarinapadilla sarinapadilla added this to the Sprint 9 milestone Jan 21, 2022
kate-mashkina added a commit that referenced this issue Jan 21, 2022
istambul-lib-coverage version
kate-mashkina added a commit that referenced this issue Jan 21, 2022
istanbul-lib-coverage version
kate-mashkina added a commit that referenced this issue Jan 21, 2022
istanbul-lib-coverage version
@sarinapadilla sarinapadilla modified the milestones: Sprint 9, Sprint 10 Feb 4, 2022
@sarinapadilla sarinapadilla modified the milestones: Sprint 10, Sprint 11 Feb 18, 2022
@sarinapadilla sarinapadilla removed this from the Sprint 11 milestone Mar 8, 2022
@sarinapadilla
Copy link

We need to re-verify that this is an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants