Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 14, 2020
1 parent a6bfb67 commit b7fc515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/editor/various/a11y.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe( 'a11y', () => {
await page.keyboard.press( 'Tab' );

const isFocusedToggle = await page.$eval( ':focus', ( focusedElement ) => {
return focusedElement.classList.contains( 'block-editor-inserter__toggle' );
return focusedElement.classList.contains( 'editor-post-publish-button__button' );
} );

expect( isFocusedToggle ).toBe( true );
Expand Down

0 comments on commit b7fc515

Please sign in to comment.