diff --git a/e2e/invoice-filters.spec.ts b/e2e/invoice-filters.spec.ts index dedd371..2f340d3 100644 --- a/e2e/invoice-filters.spec.ts +++ b/e2e/invoice-filters.spec.ts @@ -16,6 +16,7 @@ test.describe("Invoice Processing filters (AP-43)", () => { await page.getByTestId("vendor-filter").fill("Harbor"); await expect(page.getByTestId("filter-toggle").locator(".MuiBadge-badge")).toHaveText("2"); await expect(grid.locator(".MuiDataGrid-row")).toHaveCount(1); + await expect(page.getByTestId("tab-pending").locator("span").last()).toHaveText("1"); await expect(page.getByTestId("attention-banner")).toContainText( "1 invoices require approval. Show invoices ready to approve.", ); diff --git a/src/dashboard/DashboardGrids.tsx b/src/dashboard/DashboardGrids.tsx index b326164..99069e7 100644 --- a/src/dashboard/DashboardGrids.tsx +++ b/src/dashboard/DashboardGrids.tsx @@ -180,7 +180,7 @@ export function DashboardGrids() { label={ } @@ -191,7 +191,7 @@ export function DashboardGrids() { label={ } @@ -202,7 +202,7 @@ export function DashboardGrids() { label={ } @@ -213,7 +213,7 @@ export function DashboardGrids() { label={ } @@ -224,7 +224,7 @@ export function DashboardGrids() { label={