From 2d3932b8d2f47a4b579b23e54310142c40624f72 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Mon, 20 Sep 2021 13:00:52 +0800 Subject: [PATCH] Fix menu name editing e2e test --- packages/e2e-tests/specs/experiments/navigation-editor.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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