test: add swaps trending e2e tests#27118
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. |
7e90d12 to
bec34dc
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Key changes:
The component logic in Selected tags:
This is medium risk because it adds new E2E test infrastructure that needs validation, but the actual app functionality remains unchanged. Performance Test Selection: |
The committed fixture schema is out of date. To update, comment: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27118 +/- ##
==========================================
+ Coverage 81.52% 81.54% +0.01%
==========================================
Files 4626 4638 +12
Lines 121238 121448 +210
Branches 26642 26690 +48
==========================================
+ Hits 98845 99032 +187
- Misses 15446 15461 +15
- Partials 6947 6955 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



Description
Adds minimal SmokeTrade E2E coverage for Bridge Swap Trending Tokens zero-state behavior as a follow-up to the feature PR to keep implementation and test review separated.
Scope is intentionally narrow:
Changelog
CHANGELOG entry: null
Related issues
Fixes: Follow-up coverage for #26620 (SWAPS-4038)
Manual testing steps
Screenshots/Recordings
Before
N/A (test-only follow-up PR)
After
N/A (test-only follow-up PR)
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Primarily adds/adjusts test code and refactors
testIDconstants; production behavior is unchanged aside fromtestIDwiring, so risk is low and limited to potential selector breakage in tests.Overview
Adds a new SmokeTrade Detox spec validating Bridge zero-state trending tokens behavior end-to-end: feature-flagged enablement, filter bottom sheets (price/time/network), token-row navigation to asset details, and trending section hiding once a quote amount is entered.
Refactors trending token
testIDs out ofBridgeViewSelectorsIDsinto a dedicatedBridgeTrendingTokensSectionTestIdsmodule, updatesBridgeTrendingTokensSectionand related unit tests/mocks accordingly, and introduces aSwapTrendingTokensViewpage object to drive the new E2E flow.Written by Cursor Bugbot for commit ffebb00. This will update automatically on new commits. Configure here.