diff --git a/packages/e2e-tests/specs/experiments/navigation-editor.test.js b/packages/e2e-tests/specs/experiments/navigation-editor.test.js index ceb368996d806c..c9c54950c92c6d 100644 --- a/packages/e2e-tests/specs/experiments/navigation-editor.test.js +++ b/packages/e2e-tests/specs/experiments/navigation-editor.test.js @@ -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