test: fix flow state clean test on windows#13013
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (50.60%) is below the target coverage (60.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## release-1.10.0 #13013 +/- ##
==================================================
+ Coverage 54.31% 54.34% +0.02%
==================================================
Files 2091 2091
Lines 191724 191724
Branches 27448 27455 +7
==================================================
+ Hits 104142 104186 +44
+ Misses 86427 86382 -45
- Partials 1155 1156 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This pull request updates the user flow state cleanup end-to-end tests to improve reliability, especially on slower environments like Windows CI. The main changes focus on making the login and loading steps more robust by synchronizing on specific network responses and increasing timeouts for slow operations.
Test reliability and robustness improvements:
Promise.allthat waits for both the button click and the corresponding/api/v1/loginnetwork response, ensuring the login process completes before proceeding. [1] [2] [3]mainpage_title,new-project-btn, andcanvas_controls_dropdown, to reduce test flakiness. [1] [2] [3]