feat: migrates browser related POMs to typescript and the new framework#17420
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. |
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17420 +/- ##
==========================================
+ Coverage 73.57% 73.73% +0.16%
==========================================
Files 2845 2846 +1
Lines 63338 63643 +305
Branches 10328 10396 +68
==========================================
+ Hits 46598 46925 +327
+ Misses 13741 13691 -50
- Partials 2999 3027 +28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Bug: Method Modifies Input Array Unexpectedly
The withPermissionControllerConnectedToMultipleTestDapps method mutates its additionalPermissions input array by directly assigning origin properties to the objects within it. This unexpected side effect violates the principle of not modifying input parameters and can lead to unintended behavior for callers who reuse the original array or its elements.
e2e/framework/fixtures/FixtureBuilder.ts#L843-L855
metamask-mobile/e2e/framework/fixtures/FixtureBuilder.ts
Lines 843 to 855 in 82b20aa
Bug: Incorrect Assertion in Network Chain Permission Check
The isNetworkChainPermissionNotSelected method contains an incorrect assertion description. It currently states "Network chain permission ${chainName} should be selected" when it should state "should NOT be selected" to accurately reflect that the method checks for a non-selected state. This discrepancy leads to confusing error messages if the assertion fails.
e2e/pages/Browser/NetworkConnectMultiSelector.ts#L39-L47
metamask-mobile/e2e/pages/Browser/NetworkConnectMultiSelector.ts
Lines 39 to 47 in 82b20aa
Was this report helpful? Give feedback by reacting with 👍 or 👎
|
|



Description
🚀 Generic stats:
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist