test: Add Component View Tests for Send Flow#26094
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. |
app/components/Views/confirmations/components/send/send.view.test.tsx
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26094 +/- ##
==========================================
+ Coverage 81.13% 81.22% +0.09%
==========================================
Files 4387 4396 +9
Lines 113355 113510 +155
Branches 24339 24374 +35
==========================================
+ Hits 91966 92204 +238
+ Misses 15009 14954 -55
+ Partials 6380 6352 -28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
app/components/Views/confirmations/components/send/send.view.test.tsx
Outdated
Show resolved
Hide resolved
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The E2E tests in While the unit tests include Solana scenarios, the actual code changes (testIDs and navigation) are generic to the send flow and don't specifically change Solana functionality. The SmokeConfirmations tag is sufficient as it covers the send flow including Solana token sends. Performance Test Selection: |
|



Description
Sev1 issues addressed in this PR:
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Primarily adds tests and test IDs, with a small navigation initialization change that could affect deep-link/startup into the Send stack but is narrowly scoped and guarded by route params.
Overview
Adds a new
Sendcomponent-view test suite covering multiple regression scenarios across chains/assets (TRON recipient selection advances, WETH send reaches Review, ERC-721 continue/navigation behavior, non-EVM recipient list filtering, recipient avatar rendering, and Amount screen layout).Updates send navigation to honor an incoming
screenparam by settinginitialRouteNameand passinginitialParamsto stack screens, and adds/extendstestIDs in NFT rows and recipient avatars to make the flow reliably testable. Expands component-view Engine mocks with minimalAccountsController,TransactionController, andPreferencesControllerstate needed by the new tests.Written by Cursor Bugbot for commit 8804ad1. This will update automatically on new commits. Configure here.