Skip to content

Commit

Permalink
Fix menu name editing e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Sep 20, 2021
1 parent a1a7827 commit 2d3932b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ describe( 'Navigation editor', () => {
await pressKeyTimes( 'Backspace', initialMenuName.length );
await page.click( '.edit-navigation-toolbar__save-button' );
const snackbar = await page.waitForSelector(
'.components-snackbar'
'.components-snackbar',
{ visible: true }
);
const snackbarText = await snackbar.evaluate(
( element ) => element.innerText
Expand Down

0 comments on commit 2d3932b

Please sign in to comment.