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 c93e631..c715f64 100644 --- a/src/dashboard/DashboardGrids.tsx +++ b/src/dashboard/DashboardGrids.tsx @@ -181,7 +181,7 @@ export function DashboardGrids() { label={ } @@ -192,7 +192,7 @@ export function DashboardGrids() { label={ } @@ -203,7 +203,7 @@ export function DashboardGrids() { label={ } @@ -214,7 +214,7 @@ export function DashboardGrids() { label={ } @@ -225,7 +225,7 @@ export function DashboardGrids() { label={