-
Notifications
You must be signed in to change notification settings - Fork 5k
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 "Signature Approved Event" e2e test #26040
fix: Flaky "Signature Approved Event" e2e test #26040
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Fixes flaky "Signature Approved Event" e2e tests by ensuring click events are awaited properly.
- Modified
test/e2e/helpers.js
to replace direct element clicks withawait driver.clickElement
. - Ensures click actions are completed before proceeding, reducing race conditions.
- Enhances test stability, particularly for 'Signature Approved Event'.
- No significant security issues or logical errors introduced.
- Changes are consistent with existing codebase patterns.
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! great finding 😍
Thanks for the driver.clickElement() > click() suggestion @seaona! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26040 +/- ##
========================================
Coverage 69.67% 69.67%
========================================
Files 1404 1404
Lines 49682 49682
Branches 13726 13726
========================================
Hits 34614 34614
Misses 15068 15068 ☔ View full report in Codecov by Sentry. |
Builds ready [8a8e325]
Page Load Metrics (74 ± 10 ms)
Bundle size diffs
|
Description
Fixes flaky "Signature Approved Event" tests by awaiting a click event
Related issues
Fixes: #26036
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist