Skip to content

Commit

Permalink
Clean up a11y test.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jan 27, 2023
1 parent c134073 commit ee6582a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/editor/various/a11y.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ test.describe( 'a11y (@firefox, @webkit)', () => {
} ) => {
// Open the top bar Options menu.
await page.click(
'role=region[name=/Editor top bar/i] >> role=button[name=/Options/i]'
'role=region[name="Editor top bar"i] >> role=button[name="Options"i]'
);

// Open the Preferences modal.
await page.click(
'role=menu[name=/Options/i] >> role=menuitem[name=/Preferences/i]'
'role=menu[name="Options"i] >> role=menuitem[name="Preferences"i]'
);

const preferencesModal = page.locator(
Expand Down

0 comments on commit ee6582a

Please sign in to comment.