Skip to content

fix(dashboard): CI unit tests, loading skeleton, flaky timer, recipients error - #1172

Merged
harystyleseze merged 1 commit into
harystyleseze:mainfrom
JessicaOmoyeme:fix/dashboard-issues-1092-1102-1111-1112
Aug 1, 2026
Merged

fix(dashboard): CI unit tests, loading skeleton, flaky timer, recipients error#1172
harystyleseze merged 1 commit into
harystyleseze:mainfrom
JessicaOmoyeme:fix/dashboard-issues-1092-1102-1111-1112

Conversation

@JessicaOmoyeme

Copy link
Copy Markdown

Summary

Resolves four dashboard issues, each scoped to its acceptance criteria.

Changes

Validation

Issues Resolved

Closes #1092
Closes #1111
Closes #1102
Closes #1112

…nts error

Resolves four dashboard issues:

- harystyleseze#1092: dashboard-e2e.yml never ran the dashboard's vitest suite. Add a
  `unit` job that installs the root deps and runs the dashboard vitest config
  (which references ../tests/setup.ts and the root's test tooling), failing the
  workflow on any unit-test failure. Existing dashboard/** path filter applies.

- harystyleseze#1111: loading.tsx hardcoded 7 tab placeholders for an 8-tab nav (missing
  'Approvals'), causing a layout shift. Derive the skeleton from DASHBOARD_TABS
  so it can never drift from the real nav.

- harystyleseze#1102: the 'transaction fetch timeout' test awaited a real 5000ms setTimeout
  under Vitest's 5000ms default timeout, guaranteeing a timeout/flake. Convert
  to fake timers (vi.useFakeTimers + advanceTimersByTimeAsync); real timers are
  restored in a finally so no other test is affected.

- harystyleseze#1112: useRecipients swallowed /recipients failures. Expose an `error` state
  (per-source health pattern, harystyleseze#213) surfaced via DashboardHeader's 'Data issue'
  chip, and cover the error/non-ok/success paths with a new test.
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@ANAVHEOBA is attempting to deploy a commit to the Harrison Eze's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@JessicaOmoyeme Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@harystyleseze
harystyleseze merged commit 3d539e4 into harystyleseze:main Aug 1, 2026
5 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants