Fix pets API mock route in clients E2E test

The pets endpoint is /api/pets?clientId=... not /api/clients/*/pets.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
groombook-cto[bot]
2026-03-18 02:28:26 +00:00
committed by Groom Book CTO
parent a045749673
commit 6e087cc16b
+1 -1
View File
@@ -34,7 +34,7 @@ test.beforeEach(async ({ page }) => {
route.fulfill({ json: MOCK_CLIENTS }) route.fulfill({ json: MOCK_CLIENTS })
); );
// Pets loaded when a client is selected // Pets loaded when a client is selected
await page.route("/api/clients/*/pets", (route) => await page.route("/api/pets**", (route) =>
route.fulfill({ json: [] }) route.fulfill({ json: [] })
); );
}); });