accept deleting trip
This commit is contained in:
parent
3927f18863
commit
6f8958937c
@ -24,7 +24,7 @@ test('Cox can start and cancel trip', async ({ page }) => {
|
|||||||
await page.getByRole('link', { name: 'Joe' }).click();
|
await page.getByRole('link', { name: 'Joe' }).click();
|
||||||
page.once('dialog', dialog => {
|
page.once('dialog', dialog => {
|
||||||
console.log(`Dialog message: ${dialog.message()}`);
|
console.log(`Dialog message: ${dialog.message()}`);
|
||||||
dialog.dismiss().catch(() => {});
|
dialog.accept().catch(() => {});
|
||||||
});
|
});
|
||||||
await page.getByRole('link', { name: 'Löschen' }).click();
|
await page.getByRole('link', { name: 'Löschen' }).click();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user