bloom-frontend icon indicating copy to clipboard operation
bloom-frontend copied to clipboard

Enable Cypress test coverage

Open eleanorreem opened this issue 1 year ago • 3 comments

Overview

We would like to know how much of our code is covered by Cypress tests. We don't need this to be part of the CI flow but to run with a command locally. Ideally we would run yarn cypress:cov and we would receive a stat for how much code our E2E tests cover.

Action Items

  • [ ] Research into how to set up Cypress test coverage.
  • [ ] Its likely you will need to install cypress/code-coverage plugin
  • [ ] Make changes to enable code coverage stats
  • [ ] Commit/ PR and assign @eleanorreem or @annarhughes as reviewers

Resources/Instructions

Cypress test coverage docs

eleanorreem avatar Sep 07 '23 15:09 eleanorreem

Hello! I would like to pick this up! Thank you :)

ckirby19 avatar Jul 29 '24 12:07 ckirby19

Thank you @ckirby19 you have been assigned this issue! Please follow the directions in our Contributing Guide. We look forward to reviewing your pull request shortly ✨


Support Chayn's mission? ⭐ Please star this repo to help us find more contributors like you! Learn more about Chayn here and explore our projects. 🌸

github-actions[bot] avatar Jul 29 '24 23:07 github-actions[bot]

I raised a PR but having a few issues with the code coverage actually being generated. I have added the errors I am getting to the PR and I am really not sure what else I am missing to get this to work. Please have a look when you get a chance, thanks!

ckirby19 avatar Aug 11 '24 12:08 ckirby19