Skip to content

Add integration test for the buy flow showing a pending state indicator while the transaction is in flight #672

Description

@Chucks1093

Summary

Between the moment a user submits a buy and the moment it confirms on-chain, the trade panel should communicate that a transaction is in progress. An integration test should confirm a pending indicator is visible during this window and disappears after confirmation.

Scope

  • Connect a mock wallet and submit a buy transaction
  • Assert a pending indicator (spinner or disabled state with loading text) is visible before confirmation arrives
  • Resolve the transaction as confirmed
  • Assert the pending indicator is gone and the success toast is visible
  • Assert the submit button is re-enabled after confirmation

Acceptance Criteria

  • Pending indicator visible immediately after submission
  • Pending indicator absent after confirmation
  • Success toast visible after confirmation
  • Submit button re-enabled after confirmation

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