From 2d1add52ec4f179b5e2fca0814a48c255f84da2b Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 10 Jan 2020 14:21:57 +0100 Subject: [PATCH] Remove console warn expect call --- packages/e2e-tests/specs/editor/blocks/navigation.test.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/e2e-tests/specs/editor/blocks/navigation.test.js b/packages/e2e-tests/specs/editor/blocks/navigation.test.js index bf9efc81bdf0e..b37f968bc9ba2 100644 --- a/packages/e2e-tests/specs/editor/blocks/navigation.test.js +++ b/packages/e2e-tests/specs/editor/blocks/navigation.test.js @@ -134,12 +134,5 @@ describe( 'Navigation', () => { // Expect a Navigation Block with two Navigation Links in the snapshot. expect( await getEditedPostContent() ).toMatchSnapshot(); - - // TODO - this is needed currently because when adding a link using the suggestion list, - // a submit button is used. The form that the submit button is in is unmounted when submission - // occurs, resulting in a warning 'Form submission canceled because the form is not connected' - // in Chrome. - // Ideally, the suggestions wouldn't be implemented using submit buttons. - expect( console ).toHaveWarned(); } ); } );