ottensheim-boats #224
@ -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