test: stabilize flaky omnichannel and livechat specs#40775
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
WalkthroughThis PR updates eight omnichannel e2e test files and page objects to improve test stability. Changes include adding modal dismissal synchronization, UI visibility assertions, agent availability setup calls, refactoring page object navigation via a new ChangesOmnichannel E2E Test Stabilization
Possibly related PRs
Suggested labels
Suggested reviewers
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (7)
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. Additional details and impacted files@@ Coverage Diff @@
## develop #40775 +/- ##
===========================================
- Coverage 69.80% 69.75% -0.05%
===========================================
Files 3327 3330 +3
Lines 123135 123158 +23
Branches 21983 21982 -1
===========================================
- Hits 85952 85909 -43
- Misses 33832 33898 +66
Partials 3351 3351
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
This PR focus on stabilizing flaky Omnichannel/API tests by adding explicit waits for the UI/API state each assertion depends on, instead of relying on timing from previous actions.
availablebefore asserting agent status metrics.No screenshots or videos: test-only changes.
Issue(s)
FLAKY-1605
FLAKY-1403
FLAKY-1829
FLAKY-1866
FLAKY-1865
FLAKY-1603
FLAKY-1319
Steps to test or reproduce
Further comments
Summary by CodeRabbit