build(#10336): blur MkA
before interaction ends
This commit is contained in:
parent
903d0bd3e2
commit
9982ead9e6
@ -34,6 +34,7 @@ export const Default = {
|
|||||||
const menu = canvas.getByRole('menu');
|
const menu = canvas.getByRole('menu');
|
||||||
await expect(menu).toBeInTheDocument();
|
await expect(menu).toBeInTheDocument();
|
||||||
await userEvent.click(a, { button: 0 });
|
await userEvent.click(a, { button: 0 });
|
||||||
|
a.blur();
|
||||||
await tick();
|
await tick();
|
||||||
await expect(menu).not.toBeInTheDocument();
|
await expect(menu).not.toBeInTheDocument();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user