Skip to content

Commit

Permalink
Fix e2e test the drag handle is tabbable
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Dec 5, 2019
1 parent 798a830 commit 2fc44aa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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( () =>
Expand Down

0 comments on commit 2fc44aa

Please sign in to comment.