diff --git a/packages/e2e-tests/specs/editor/blocks/navigation.test.js b/packages/e2e-tests/specs/editor/blocks/navigation.test.js index 78733038ea977d..db8f750281569c 100644 --- a/packages/e2e-tests/specs/editor/blocks/navigation.test.js +++ b/packages/e2e-tests/specs/editor/blocks/navigation.test.js @@ -1682,10 +1682,7 @@ Expected mock function not to be called but it was called with: ["POST", "http:/ ); } ); - // Skip reason: running it in interactive works but selecting and - // checking for focus consistently fails in the test. - // eslint-disable-next-line jest/no-disabled-tests - it.skip( 'should always focus select menu button after item selection', async () => { + it( 'should always focus select menu button after item selection', async () => { // Create some navigation menus to work with. await createNavigationMenu( { title: 'First navigation', @@ -1713,7 +1710,7 @@ Expected mock function not to be called but it was called with: ["POST", "http:/ const theOption = await page.waitForXPath( "//button[@aria-checked='false'][contains(., 'First navigation')]" ); - theOption.click(); + await theOption.click(); // Once the options are closed, does select menu button receive focus? const selectMenuDropdown2 = await page.$(