test: Removed legacy swap test code and selectors#24947
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. |
f9bbd43 to
3c43b66
Compare
ba0c737 to
0cc87ef
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR is a cleanup/refactoring of E2E test infrastructure for swap/bridge functionality:
The
Since the selector file was moved and imports updated, running SmokeTrade tests will verify the refactoring doesn't break the swap/bridge E2E tests. The appwright/wdio changes don't require Detox tags. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24947 +/- ##
=======================================
Coverage 79.91% 79.91%
=======================================
Files 4257 4254 -3
Lines 109283 109277 -6
Branches 22870 22870
=======================================
- Hits 87335 87333 -2
+ Misses 15896 15893 -3
+ Partials 6052 6051 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Missing release label release-7.64.0 on PR. Adding release label release-7.64.0 on PR and removing other release labels(release-7.65.0), as PR was added to branch 7.64.0 when release was cut. |



Description
THis PR removes legacy swaps e2e test code and selectors
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Streamlines e2e/testing by deleting old swaps artifacts and standardizing on bridge selectors.
Swaps/QuoteView.testIdswithe2e/selectors/Bridge/QuoteView.selectorsin tests and helpersSwapsView.testIds.ts,QuotesModal.testIds.ts,e2e/pages/swaps/SwapView.ts,e2e/pages/swaps/QuoteModal.ts, and an unused anvil specSwapScreenusage and rely onBridgeScreenfor swap/bridge flowsBridgeScreenand Detox page objects to use new selector paths and removes obsolete "Get quotes" taptestIDprop referenceWritten by Cursor Bugbot for commit 0cc87ef. This will update automatically on new commits. Configure here.