Skip to content

Commit 6b8d573

Browse files
committed
Fix e2e test
1 parent 3480f9e commit 6b8d573

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/e2e-tests/specs/editor/various/toolbar-roving-tabindex.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ describe( 'Toolbar roving tabindex', () => {
101101

102102
it( 'ensures table block toolbar uses roving tabindex', async () => {
103103
await insertBlock( 'Table' );
104+
// Focus "Create Table" button in advance because the block wrapper doesn't get
105+
// focus when Up Arrow is pressed in input number field.
106+
await page.keyboard.press( 'Tab' );
107+
await page.keyboard.press( 'Tab' );
104108
await testBlockToolbarKeyboardNavigation( 'Block: Table', 'Table' );
105109
// Move focus to the first toolbar item.
106110
await page.keyboard.press( 'Home' );

0 commit comments

Comments
 (0)