test: remove offramp-token-amount e2e test covered by unit tests#27033
test: remove offramp-token-amount e2e test covered by unit tests#27033chrisleewilcox wants to merge 1 commit intomainfrom
Conversation
All behaviors tested in the e2e test (keypad entry, quick amount buttons, MAX gas capping) are already covered by BuildQuote.test.tsx unit tests. Removing to reduce e2e test maintenance overhead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|



Description
Removes
offramp-token-amount.spec.tse2e test. All behaviors tested in this e2e test are already covered by existing unit tests inBuildQuote.test.tsx.Coverage mapping:
updates the amount inputupdates the amount input with quick amount buttonsupdates the amount input up to the max considering gas for native assetupdates the amount input up to the percentage considering gasclears the amount when the keyboard is freshly openedThis is part of the effort to convert ramps e2e tests to unit/component tests (MMQA-1492).
Why not a separate component-view test?
BuildQuote.test.tsxalready is a component-view test — it usesrenderScreen()which renders the fullBuildQuotecomponent inside a real navigation stack with Redux state. It simulates user interactions viafireEvent.presson keypad buttons, asserts displayed text, and tests quick amount buttons (25%, 50%, 75%, MAX) with gas capping. Creating a separate component-view test would duplicate existing coverage.Changelog
CHANGELOG entry: null
Related issues
Fixes: MMQA-1520
Manual testing steps
Screenshots/Recordings
Before
N/A — test removal, not a UI change.
After
N/A — test removal, not a UI change.
Pre-merge author checklist
Pre-merge reviewer checklist