-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: update input raw locator in account watcher e2e to use element ID #26950
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. |
Quality Gate passedIssues Measures |
Builds ready [2791ebd]
Page Load Metrics (1966 ± 162 ms)
Bundle size diffs
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26950 +/- ##
===========================================
- Coverage 70.17% 70.17% -0.00%
===========================================
Files 1425 1425
Lines 49644 49647 +3
Branches 13889 13889
===========================================
+ Hits 34835 34836 +1
- Misses 14809 14811 +2 ☔ View full report in Codecov by Sentry. |
Using Codespaces, was able to observe the flake in |
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 and passes in Codespaces with this change.
Description
This PR addresses the issue of flaky account watcher tests on develop. I updated the input selector used in these tests to be more reliable, moving away from using the placeholder text as a locator since the placeholder text may vary depending on the network and using
'input#address-input[type="text"]'
. This change should improve the stability of our test suite and reduce the occurrence of false negatives in our CI pipeline.Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/584#issue-2508418003
Manual testing steps
yarn build:test
oryarn build:test:fask
yarn test:e2e:single test/e2e/accounts/create-watch-account.spec.ts --browser=chrome --leave-running
yarn test:e2e:single test/e2e/accounts/create-watch-account.spec.ts --browser=firefox --leave-running
Screenshots/Recordings
NA
Pre-merge author checklist
Pre-merge reviewer checklist