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

Fix flaky watchlist tests #650

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Fix flaky watchlist tests #650

merged 1 commit into from
Jun 5, 2024

Conversation

Splines
Copy link
Member

@Splines Splines commented Jun 5, 2024

Watchlist tests relied on strings coming from Rails. Instead, we now just check if errors are present and if they contain the respective keys.

(I noticed that these tests are flaky in #647).

They failed because the locale was sometimes set to "de" and sometimes
set to "en".
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.64%. Comparing base (0c841de) to head (2a5a106).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #650   +/-   ##
=======================================
  Coverage   66.63%   66.64%           
=======================================
  Files         309      309           
  Lines        9384     9386    +2     
=======================================
+ Hits         6253     6255    +2     
  Misses       3131     3131           

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

@Splines Splines merged commit ed867fb into dev Jun 5, 2024
6 checks passed
@Splines Splines deleted the tests/watchlist-tests-flaky branch June 5, 2024 18:09
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