Conversation
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.
Reviewed by Cursor Bugbot for commit c3cf7d9. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Risk assessment: Low risk. No functional app code changed (only testID string references moved to constants with identical values). The main concern is ensuring the remaining SmokeMoney Card tests still pass after the deletion of the card-button test and the testID refactoring. No other feature areas are affected. No performance tests needed: No UI rendering performance changes, no state management changes, no critical flow changes — only test infrastructure and testID constant refactoring. 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: changes are limited to test infrastructure, selectors (
testID) wiring, and removal of an e2e smoke test, with no production logic changes beyond swapping hardcodedtestIDstrings for constants.Overview
Adds a new component-view test suite for
CardHomethat asserts key navigation targets (Add Funds, asset selection, spending limit, cashback, metal card), teaser-mode auth redirect, retry behavior, and logout confirmation.Refactors card test scaffolding by introducing a seeded
cardStatePreset, arenderCardHomeViewhelper with lightweight navigation route probes, and expanding component-viewEnginemocks for card flows.Standardizes
testIDusage by replacing inline IDs inCardAuthenticationandSpendingLimitwith selector constants, and removes the old card navbar smoke/e2e spec plus its analytics expectations.Reviewed by Cursor Bugbot for commit 63588a6. Bugbot is set up for automated code reviews on this repo. Configure here.