From 6f8958937c070ac114e9c0a1263d30aec0f482af Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 3 Mar 2024 21:11:38 +0100 Subject: [PATCH] accept deleting trip --- frontend/tests/log.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/tests/log.spec.ts b/frontend/tests/log.spec.ts index 0a19224..d7a2cba 100644 --- a/frontend/tests/log.spec.ts +++ b/frontend/tests/log.spec.ts @@ -24,7 +24,7 @@ test('Cox can start and cancel trip', async ({ page }) => { await page.getByRole('link', { name: 'Joe' }).click(); page.once('dialog', dialog => { console.log(`Dialog message: ${dialog.message()}`); - dialog.dismiss().catch(() => {}); + dialog.accept().catch(() => {}); }); await page.getByRole('link', { name: 'Löschen' }).click(); });