Adapt Playwright mocks to use the new URL
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 33s
Add copyright notice / copyright_notice (pull_request) Successful in 40s
Playwright Tests / test (pull_request) Successful in 3m1s

This commit is contained in:
Manuel Bustillo 2024-11-30 20:58:17 +01:00
parent 54be5515e5
commit 3385230353

View File

@ -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",