Skip to content

Add integration test for the holdings page refetching data after the wallet switches to a different address #681

Description

@Chucks1093

Summary

If a user disconnects one wallet and connects a different one, the holdings page must refetch data for the new wallet address and not display stale holdings from the previous session. An integration test should simulate a wallet switch and confirm the holdings update correctly.

Scope

  • Connect wallet A which has holdings for two creators
  • Render the holdings page and assert wallet A's holdings are shown
  • Disconnect wallet A and connect wallet B which has one different creator holding
  • Assert the holdings page refetches and displays wallet B's holdings only
  • Assert wallet A's holdings are not visible after the switch

Acceptance Criteria

  • Holdings refetched after wallet switch
  • Wallet B's holdings shown after connecting wallet B
  • Wallet A's holdings absent after switch
  • Holdings page does not error during the wallet switch transition

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