Skip to content

Add integration test for the wallet activity feed loading the next page on scroll #677

Description

@Chucks1093

Summary

The wallet activity feed should support infinite scroll to load older trades. An integration test should confirm that scrolling near the bottom of the feed triggers a next page fetch and appends the older trades below the existing ones.

Scope

  • Mock two pages of activity: page 1 with trades A, B, C and page 2 with trades D, E, F
  • Render the activity feed and assert page 1 trades are visible
  • Trigger the Intersection Observer to simulate scrolling to the bottom
  • Assert the next page is fetched and trades D, E, F appear below A, B, C
  • Assert no duplicate trades in the combined list

Acceptance Criteria

  • Page 1 trades visible on initial load
  • Scroll triggers next page fetch
  • Page 2 trades appended below page 1 trades
  • No duplicate trades in the combined list

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

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