Add slug prefix to Playwright specs
Some checks failed
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m11s
Add copyright notice / copyright_notice (pull_request) Successful in 2m5s
Playwright Tests / test (pull_request) Failing after 10m5s

This commit is contained in:
Manuel Bustillo 2024-12-01 18:24:01 +01:00
parent 82f5dd6c64
commit 15ef451966

View File

@ -65,7 +65,7 @@ const mockGroupsAPI = ({ page }: { page: Page }) => {
test('should display the list of guests', async ({ page }) => {
await mockGuestsAPI({ page });
await page.goto('/dashboard/guests');
await page.goto('/default/dashboard/guests');
await expect(page.getByRole('tab', { name: 'Groups' })).toBeVisible();
await expect(page.getByRole('tab', { name: 'Guests' })).toBeVisible();
@ -90,7 +90,7 @@ test('should display the list of guests', async ({ page }) => {
test('should display the list of groups', async ({ page }) => {
await mockGroupsAPI({ page });
await page.goto('/dashboard/guests');
await page.goto('/default/dashboard/guests');
await page.getByRole('tab', { name: 'Groups' }).click();
await expect(page.getByText('There are 2 elements in the list')).toBeVisible();