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

Improve cypress stability #315

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Conversation

louise-davies
Copy link
Member

Description

I noticed that some cypress tests were flaky due to failing in the beforeEach hook because I guess waiting for progress bar to appear then disappear could cause issues if the page loads too fast for cypress to see the progress bar? Now we just use another assert to check the page has loaded and check the progress bar is not visible, which I think should help stabilise these tests

Testing instructions

Add a set up instructions describing how the reviewer should test the code

  • Review code
  • Check Actions build
  • Review changes to test coverage

@louise-davies louise-davies marked this pull request as ready for review December 15, 2023 13:55
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ff940e4) 94.99% compared to head (ca50ff2) 94.99%.
Report is 5 commits behind head on develop.

❗ Current head ca50ff2 differs from pull request most recent head 540ed21. Consider uploading reports for the commit 540ed21 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #315   +/-   ##
========================================
  Coverage    94.99%   94.99%           
========================================
  Files           76       76           
  Lines         3498     3498           
  Branches       968      968           
========================================
  Hits          3323     3323           
  Misses         173      173           
  Partials         2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kaperoo kaperoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@louise-davies louise-davies merged commit badc4db into develop Jan 8, 2024
2 checks passed
@louise-davies louise-davies deleted the improve-cypress-stability branch January 8, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants