From 2fc44aab1f7899d7ff0db890ec56d3275598fbf9 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 5 Dec 2019 14:18:32 +0100 Subject: [PATCH] Fix e2e test the drag handle is tabbable --- .../specs/editor/various/keyboard-navigable-blocks.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js b/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js index a8ebe96c34fcd2..085ddea5128c20 100644 --- a/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js +++ b/packages/e2e-tests/specs/editor/various/keyboard-navigable-blocks.test.js @@ -58,6 +58,9 @@ const tabThroughBlockMoverControl = async () => { ); await expect( isFocusedMoveUpControl ).toBe( true ); + // Tab to focus the drag handle + await page.keyboard.press( 'Tab' ); + // Tab to focus on the 'move down' control await page.keyboard.press( 'Tab' ); const isFocusedMoveDownControl = await page.evaluate( () =>