-
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 #20930 - Prevent Firefox start failure by awaiting startUISync event #20992
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. |
Could you update the comment on this line to remove the "in MV3" part?
As of this change, this will be relied on in all builds. That was the only comment I could find that needs updating. |
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 work!
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. Tested locally per instructions
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #20992 +/- ##
========================================
Coverage 68.40% 68.40%
========================================
Files 1006 1006
Lines 40217 40217
Branches 10758 10758
========================================
Hits 27510 27510
Misses 12707 12707
☔ View full report in Codecov by Sentry. |
Builds ready [8432d88]
Page Load Metrics (1584 ± 50 ms)
Bundle size diffs
|
Description
This PR further highlighted the problem that sometimes the UI loads before the background (most notably in Firefox). This leaves MetaMask in a state where the user sees the MetaMask fox logo and spinner but nothing actually happens. I've seen this quite a bit specifically in E2E tests.
Manual testing steps
_1. Complete usual wallet creation and subsequent login and logout, refreshing the page, etc. Everything should work as normal.
yarn build test
yarn test:e2e:single test/e2e/metamask-ui.spec.js --browser firefox --leave-running --debug
Related issues
_Fixes #20930
Pre-merge author checklist
Pre-merge reviewer checklist