From 3385230353299ba639223357899c1e327f16b94a Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 30 Nov 2024 20:58:17 +0100 Subject: [PATCH] Adapt Playwright mocks to use the new URL --- tests/guests.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/guests.spec.ts b/tests/guests.spec.ts index 87abe3a..3a564d7 100644 --- a/tests/guests.spec.ts +++ b/tests/guests.spec.ts @@ -1,7 +1,7 @@ import { test, expect, Page } from '@playwright/test' const mockGuestsAPI = ({ page }: { page: Page }) => { - page.route('*/**/api/guests', async route => { + page.route('*/**/api/default/guests', async route => { const json = [ { "id": "f4a09c28-40ea-4553-90a5-96935a59cac6", @@ -28,7 +28,7 @@ const mockGuestsAPI = ({ page }: { page: Page }) => { } const mockGroupsAPI = ({ page }: { page: Page }) => { - page.route('*/**/api/groups', async route => { + page.route('*/**/api/default/groups', async route => { const json = [ { "id": "ee44ffb9-1147-4842-a378-9eaeb0f0871a",