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
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:
Suggested Execution:
Fork and Branch
git checkout -b test/browser-buyback-dashboard-e2eImplement Changes::
Files to Edit:
frontend/src/components/BuybackCampaign/CampaignDashboard.tsx- Add stable test hooks if neededfrontend/src/components/BuybackCampaign/ExecuteStepButton.tsx- Ensure pending and success states are testableFiles to Create:
frontend/src/test/e2e/buyback-dashboard.browser.test.tsx- Buyback browser-level test suiteTest
Commit
git add .git commit -m "test(integration): add browser-level buyback dashboard coverage"Guidelines: