test: add submit swap flag#29869
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|



Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk because changes are limited to performance test specs, but enabling
SUBMIT_SWAPwill execute real swap confirmations and activity assertions, which may increase test flakiness and runtime.Overview
Adds an optional “submit swap” path to the performance swap login specs so they can go beyond quote timing and actually confirm the swap when
SUBMIT_SWAP=true.When enabled, the tests dismiss the keypad, tap
Confirm swap, and validate the resulting activity viacheckSwapActivityfor both the ETH→USDC and cross-chain ETH→SOL flows.Reviewed by Cursor Bugbot for commit 60810d3. Bugbot is set up for automated code reviews on this repo. Configure here.