test: cp-7.52.0 handle multichain account rename flows #17494
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.
Bug: Test Bypasses Account Renaming Auto-Detection
The tests bypass the auto-detection logic for account renaming by directly calling renameActiveAccountLegacy() and renameActiveAccountMultichain(). They should instead use the main renameActiveAccount() method to properly test the feature flag-driven UI flow selection based on UI visibility.
e2e/specs/accounts/rename-account-flows.spec.ts#L49-L51
metamask-mobile/e2e/specs/accounts/rename-account-flows.spec.ts
Lines 49 to 51 in 289b0e8
e2e/specs/accounts/rename-account-flows.spec.ts#L105-L107
metamask-mobile/e2e/specs/accounts/rename-account-flows.spec.ts
Lines 105 to 107 in 289b0e8
Was this report helpful? Give feedback by reacting with 👍 or 👎
|



Description
Adds test coverage for multichain account rename flows. Includes proper feature flag mocking and covers both enabled/disabled scenarios.
Updates
renameActiveAccountmethod to handle both UIsUpdate
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist