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(); });