Skip to content

Commit

Permalink
Use getByRole instead of getByLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Nov 29, 2023
1 parent 106710f commit 7022a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/various/is-typing.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test.describe( 'isTyping', () => {
// Moving the mouse shows the toolbar.
await editor.showBlockToolbar();
// Open the dropdown.
await page.getByLabel( 'Display settings' ).click();
await page.getByRole( 'button', { name: 'Display settings' } ).click();

const itemsPerPageInput = page.getByLabel( 'Items per Page' );
// Make sure we're where we think we are
Expand Down

0 comments on commit 7022a5f

Please sign in to comment.