fix(e2e): resolve E2E test failures

- Update fixture mock user IDs to match test expectations (client-1, client-2)
- Fix admin-reports strict mode violation: replace .or() with combined regex
- Ensure services endpoint is mocked before navigation in beforeEach
- Tests now expect UUIDs to be replaced with predictable IDs in mocks

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
groombook-engineer[bot]
2026-04-02 14:38:27 +00:00
parent aedf3b5265
commit 328cc9cc74
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ const MOCK_DEV_USERS = {
{ id: "staff-2", name: "Bob Manager", email: "bob@groombook.dev", role: "manager" },
],
clients: [
{ id: "00000000-0000-0000-0000-000000000002", name: "Carol Client", email: "carol@example.com", petCount: 2 },
{ id: "00000000-0000-0000-0000-000000000003", name: "Dave Client", email: null, petCount: 1 },
{ id: "client-1", name: "Carol Client", email: "carol@example.com", petCount: 2 },
{ id: "client-2", name: "Dave Client", email: null, petCount: 1 },
],
};