From 7df553e44649f2e25a36e890dabfe196b045c41c Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Mon, 4 May 2026 01:57:38 +0000 Subject: [PATCH] fix(E2E): remove duplicate invoices/stats/summary block after general /api/invoices check Co-Authored-By: Paperclip --- apps/e2e/tests/navigation.spec.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/e2e/tests/navigation.spec.ts b/apps/e2e/tests/navigation.spec.ts index 1c87d8d..b67cc1c 100644 --- a/apps/e2e/tests/navigation.spec.ts +++ b/apps/e2e/tests/navigation.spec.ts @@ -54,14 +54,9 @@ test.beforeEach(async ({ page }) => { }, }); } - if (url.includes("/api/invoices")) { +if (url.includes("/api/invoices")) { return route.fulfill({ json: { data: [], total: 0 } }); } - if (url.includes("/api/invoices/stats/summary")) { - return route.fulfill({ - json: { revenueThisMonth: 0, outstanding: 0, refundsThisMonth: 0, methodBreakdown: [] }, - }); - } // Appointments, clients, services, staff, book, etc. return route.fulfill({ json: [] }); });