From cb89310425659088d066f13d3adaabae1583489c Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 15 Jun 2025 13:24:09 +0200 Subject: [PATCH] Update specs accordingly --- tests/guests.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/guests.spec.ts b/tests/guests.spec.ts index 7416c09..45bb322 100644 --- a/tests/guests.spec.ts +++ b/tests/guests.spec.ts @@ -70,6 +70,7 @@ test('should allow CRUD on guests', async ({ page }) => { await expect(page.getByText('There are 3 elements in the list')).toBeVisible(); // Delete John Fire + page.on('dialog', dialog => dialog.accept()); await page.getByRole('row').nth(1).locator('svg').nth(0).click(); // Click delete icon await expect(page.getByText('There are 2 elements in the list')).toBeVisible(); });