Summary
The connect wallet button cycles through three states: idle, connecting, and connected. Unit tests should confirm the correct label, icon, and disabled state for each and that the error state shows a retry option.
Scope
- Test idle state renders 'Connect Wallet' label and is enabled
- Test connecting state renders 'Connecting…' with a spinner and is disabled
- Test connected state renders the truncated wallet address
- Test error state renders 'Failed — Try Again' with a retry button
- Assert retry button calls the connect handler again
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The connect wallet button cycles through three states: idle, connecting, and connected. Unit tests should confirm the correct label, icon, and disabled state for each and that the error state shows a retry option.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram