test: UX: Multichain: Add test for mutiple dapp confirmation order#25536
Merged
test: UX: Multichain: Add test for mutiple dapp confirmation order#25536
Conversation
Contributor
|
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. |
Collaborator
Builds ready [1e5b508]
Page Load Metrics (49 ± 5 ms)
Bundle size diffs
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #25536 +/- ##
========================================
Coverage 69.70% 69.70%
========================================
Files 1349 1349
Lines 47864 47864
Branches 13205 13205
========================================
Hits 33360 33360
Misses 14504 14504 ☔ View full report in Codecov by Sentry. |
Collaborator
Builds ready [c438f40]
Page Load Metrics (46 ± 4 ms)
Bundle size diffs
|
chloeYue
approved these changes
Jun 27, 2024
Contributor
There was a problem hiding this comment.
LGTM! Could you add these scenarios on test coverage sheet and fill the version when e2e tests are added so we can track? Thanks !
sahar-fehri
approved these changes
Jun 28, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR ensures no dapp-specified transactions get dropped when triggering transactions on dapps, switching to a dapp on another chain, and triggering another transaction.
Related issues
Supercedes: #25459
Fixes:
Manual testing steps
Tab 1, connect toUniswaponEthereum MainnetTab 2, connect toPancakeSwaponBNB ChainTab 3, connect toTest DapponSepoliaTab 1andTab 2BUT DO NOT CONFIRM IT, JUST MOVE ON TO THE NEXT TABTab 3BUT DO NOT CONFIRM ITTab 1(Uniswap) onEthereum Mainnet; confirm or reject it. See the confirmation window closePancakeSwap/Tab 2confirmation onBNBchain; confirm or reject it. See the confirmation window closeTab 3/Test Dappsend onSepolia. Confirm or reject it.Screenshots/Recordings
Before
After
Video of equivalent, manual test of this E2E
https://github.com/MetaMask/metamask-extension/assets/46655/cc4578f9-602c-4c2e-835d-79e4ca8ed762
Pre-merge author checklist
Pre-merge reviewer checklist