You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add breadcrumb navigation to all detail pages (#1293)
* feat: add Breadcrumbs shared component with home icon and chevron separators
* feat: add breadcrumbs to accounts, internal accounts, and payments detail pages
* feat: add breadcrumbs to parties, positions, and ledger detail pages
* feat: add breadcrumbs to reconciliation, starlark, market-data, mappings, and tenants detail pages
* fix: update reconciliation test to handle breadcrumb duplicating run ID text
* fix: update positions tests to use breadcrumb link; add breadcrumbs to market-data error states
* fix: update reconciliation tests for breadcrumb-based navigation
* fix: update mappings and parties tests for breadcrumb-based navigation
The <h1>Mapping Details</h1> and <h1>Party Details</h1> headings were
removed when replacing back navigation with breadcrumbs. Update tests
to assert on the breadcrumb link to the parent section instead, and
use getAllByText for mapping name which now appears in both breadcrumb
and header.
* fix: improve test assertions per CodeRabbit feedback
- mappings: scope 'renders mapping name after loading' to heading role
instead of permissive getAllByText check
- parties: restore actual tab-switching assertions in tab tests, add
userEvent import for click interactions
* fix: update E2E tests for breadcrumb-based navigation
Replace back-button testid and 'Party Details' heading assertions with
breadcrumb link assertions in positions and parties E2E specs. The old
back-button and Party Details heading were removed when breadcrumbs
were introduced across all detail pages.
* ci: trigger full CI re-run on latest test fixes
* fix: mock useAuth in parties test to support audit trail tab click
AuditTrailTab uses useAuthenticatedFetch which calls useAuth internally.
Without an AuthProvider or useAuth mock, clicking the Audit Trail tab
throws 'useAuth must be used within an AuthProvider'.
* fix: add TenantProvider mock to party detail tests
The AuditTrail component uses useAuthenticatedFetch which requires
TenantProvider context. Add useTenantContext mock to fix the test
that was failing when switching to the audit trail tab.
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
0 commit comments