From 3ff07ffc3abd1d05fb827f5dad77890645c633d7 Mon Sep 17 00:00:00 2001 From: Mert Akinc <7282195+m-akinc@users.noreply.github.com> Date: Mon, 20 May 2024 19:04:47 -0500 Subject: [PATCH] Fix test --- .../nimble-components/src/menu-button/tests/menu-button.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts b/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts index 623b2cb122..b4d199d6cc 100644 --- a/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts +++ b/packages/nimble-components/src/menu-button/tests/menu-button.spec.ts @@ -138,6 +138,7 @@ describe('MenuButton', () => { element.setAttribute('tabindex', '-1'); await connect(); element.removeAttribute('tabindex'); + await waitForUpdatesAsync(); expect(element.toggleButton!.getAttribute('tabindex')).toBeNull(); });