test(web): update tasks page tests for real API integration #475

Merged
jason.woltje merged 2 commits from feat/tasks-real-api into main 2026-02-23 03:59:57 +00:00
Owner

Summary

Update tasks page tests to work with real API integration from PR #473.

  • Mock fetchTasks and useWorkspaceId instead of relying on removed mock data
  • Add test coverage for loading spinner, empty state, error state, and retry flow
  • Add test for workspace-not-available case

Refs #467

## Summary Update tasks page tests to work with real API integration from PR #473. - Mock fetchTasks and useWorkspaceId instead of relying on removed mock data - Add test coverage for loading spinner, empty state, error state, and retry flow - Add test for workspace-not-available case Refs #467
jason.woltje added 2 commits 2026-02-23 03:59:46 +00:00
feat(web): wire tasks page to real API data
Some checks failed
ci/woodpecker/push/web Pipeline failed
c510d6fbc6
Replace mock data with real fetchTasks() API call. Add workspace-aware
data fetching, MosaicSpinner loading state, empty state card, and
error state with retry using design tokens throughout.

Refs #467
test(web): update tasks page tests for real API integration
All checks were successful
ci/woodpecker/push/web Pipeline was successful
5b62353c06
Update page tests to mock fetchTasks and useWorkspaceId instead of
relying on removed mock data. Add coverage for loading, empty, error,
and retry states.

Refs #467
jason.woltje merged commit ffda74ec12 into main 2026-02-23 03:59:57 +00:00
Sign in to join this conversation.