test(bridge): add gasless swap error banner view test#28010
Conversation
Co-Authored-By: Claude Sonnet 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: Key observations:
Since no production code was changed and no E2E test infrastructure was modified, there is no need to run any E2E test tags. The risk is minimal as this is purely additive test coverage. Performance Test Selection: |
|



Summary
BridgeViewgasFeesSponsoredNetworkenabled for0x1) and aquoteFetchErrorinBridgeControllerto trigger the error bannerNote
Low Risk
Low risk: adds a UI view test only, exercising an error-state banner and its dismissal without changing production logic.
Overview
Adds a new
BridgeView.viewtest covering the gasless swap error state by simulating aBridgeController.quoteFetchErrorwith sponsored gas enabled and asserting the generic error banner renders.The test also verifies the banner can be dismissed via the close icon and is removed from the screen afterward.
Written by Cursor Bugbot for commit 00688c8. This will update automatically on new commits. Configure here.