Skip to content

Commit c3cecac

Browse files
authored
Try fixing the flaky 'Toolbar roving tabindex' e2e test (#54785)
* Try fixing the flaky 'Toolbar roving tabindex' e2e test * Add a link in the comment
1 parent 861aea3 commit c3cecac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ test.describe( 'Toolbar roving tabindex', () => {
1414
await admin.createNewPost();
1515
await editor.insertBlock( { name: 'core/paragraph' } );
1616
await page.keyboard.type( 'First block' );
17+
18+
// Ensure the fixed toolbar option is off.
19+
// See: https://github.com/WordPress/gutenberg/pull/54785.
20+
await editor.setIsFixedToolbar( false );
1721
} );
1822

1923
test( 'ensures base block toolbars use roving tabindex', async ( {

0 commit comments

Comments
 (0)