Skip to content

Commit

Permalink
Customizing widgets test: change how navigation mode is detected. Res…
Browse files Browse the repository at this point in the history
…ults of speak() are unreliable.
  • Loading branch information
jsnajdr committed Feb 2, 2023
1 parent 4cd93c7 commit 207e16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/specs/widgets/customizing-widgets.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ test.describe( 'Widgets Customizer', () => {
await page.keyboard.press( 'Escape' );
await expect(
page.locator(
'*[aria-live="polite"][aria-relevant="additions text"] >> text=/^You are currently in navigation mode./'
'css=.block-editor-block-list__layout.is-navigate-mode'
)
).toHaveCount( 1 );
).toBeVisible();
await expect( paragraphBlock ).toBeVisible();
} );

Expand Down

0 comments on commit 207e16d

Please sign in to comment.