Skip to content

Commit

Permalink
Replace shift+tab with alt+F10 to focus toolbar in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Oct 4, 2023
1 parent 8d7534c commit 300bc60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/blocks/image.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ test.describe( 'Image', () => {

// Add caption and navigate to inline toolbar.
await editor.clickBlockToolbarButton( 'Add caption' );
await pageUtils.pressKeys( 'shift+Tab' );
await pageUtils.pressKeys( 'alt+F10' );
expect(
await page.evaluate( () =>
document.activeElement.getAttribute( 'aria-label' )
Expand Down

0 comments on commit 300bc60

Please sign in to comment.