add a small delay for menu-item

This commit is contained in:
konnorrogers
2025-01-06 11:38:17 -05:00
parent 7641779294
commit c4922c00eb

View File

@@ -178,6 +178,7 @@ describe('<wa-menu-item>', () => {
const outerItem = menu.querySelector<WaMenuItem>('#outer')!;
// Silly fix for CI + Chrome to focus properly.
await clickOnElement(outerItem);
outerItem.focus();
await menu.updateComplete;
await sendKeys({ press: 'ArrowRight' });