Skip to content

Add Browser-Level End-to-End Tests for Buyback Dashboard UX #653

@Emmyt24

Description

@Emmyt24

title: Add Browser-Level End-to-End Tests for Buyback Dashboard UX

Description:
Exercise the buyback dashboard in a browser-level environment, including loading state, current step execution, tx linking, and projection refresh behavior.

Requirements and Context:

  • The buyback dashboard currently sits on several unstable integration seams
  • Need realistic UI coverage once routes and services are aligned
  • Must validate both backend reads and contract write interactions

Suggested Execution:
Fork and Branch

  • git checkout -b test/browser-buyback-dashboard-e2e

Implement Changes::
Files to Edit:

  • frontend/src/components/BuybackCampaign/CampaignDashboard.tsx - Add stable test hooks if needed
  • frontend/src/components/BuybackCampaign/ExecuteStepButton.tsx - Ensure pending and success states are testable

Files to Create:

  • frontend/src/test/e2e/buyback-dashboard.browser.test.tsx - Buyback browser-level test suite

Test

  • Verify dashboard loads projected campaign data
  • Verify execute step flow updates progress after confirmation
  • Verify explorer links and step statuses render correctly

Commit

  • git add .
  • git commit -m "test(integration): add browser-level buyback dashboard coverage"

Guidelines:

  • Test loading, success, and failure states
  • Avoid brittle timing by waiting on explicit UI state transitions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions