diff --git a/lib/dialog/components/RecipientRow.vue b/lib/dialog/components/RecipientRow.vue index f0cf7f2..cc57607 100644 --- a/lib/dialog/components/RecipientRow.vue +++ b/lib/dialog/components/RecipientRow.vue @@ -29,7 +29,7 @@ {{ preset.label }} - + diff --git a/tests/ct/RecipientRow.spec.ts b/tests/ct/RecipientRow.spec.ts index 7f68e08..c1cb70c 100644 --- a/tests/ct/RecipientRow.spec.ts +++ b/tests/ct/RecipientRow.spec.ts @@ -29,4 +29,6 @@ test('opens the custom permissions modal from the menu', async ({ mount, page }) await component.getByRole('button', { name: 'Recipient actions' }).click() await page.getByRole('menuitem', { name: 'Custom permissions' }).click() await expect(page.getByRole('dialog')).toBeVisible() + // The menu has to get out of the way, or it overlaps the modal it opened. + await expect(page.getByRole('menu')).toHaveCount(0) })