Skip to content

Add integration test for trade panel disabling buy button when wallet is not connected #561

Description

@Chucks1093

Summary

The buy button in the trade panel should be disabled and show a connect-wallet prompt when no wallet is connected. An integration test should confirm this state is correctly rendered before and after a wallet connects.

Scope

  • Render the trade panel without a connected wallet
  • Assert the buy button is disabled and a connect-wallet message is visible
  • Simulate a wallet connection
  • Assert the buy button becomes enabled and the connect-wallet message disappears

Acceptance Criteria

  • Buy button disabled when no wallet connected
  • Connect-wallet message visible when no wallet connected
  • Buy button enabled after wallet connects
  • Connect-wallet message removed after wallet connects

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions