From 16bd34897e2a57013a8e134afa5c22b0f7668528 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Wed, 21 Jun 2023 17:24:19 +0200 Subject: [PATCH] removed isTopLevelLink from tests --- .../specs/editor/blocks/navigation.spec.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/e2e/specs/editor/blocks/navigation.spec.js b/test/e2e/specs/editor/blocks/navigation.spec.js index 835b05e570e99..67b48d528adc7 100644 --- a/test/e2e/specs/editor/blocks/navigation.spec.js +++ b/test/e2e/specs/editor/blocks/navigation.spec.js @@ -62,7 +62,7 @@ test.describe( 'Navigation block', () => { const createdMenu = await requestUtils.createNavigationMenu( { title: 'Test Menu 1', content: - '', + '', } ); await editor.insertBlock( { name: 'core/navigation' } ); @@ -138,7 +138,7 @@ test.describe( 'Navigation block', () => { await requestUtils.createNavigationMenu( { title: 'Test Menu 1', content: - '', + '', } ); //FIXME this is needed because if the two menus are created at the same time, the API will return them in the wrong order. @@ -148,7 +148,7 @@ test.describe( 'Navigation block', () => { const latestMenu = await requestUtils.createNavigationMenu( { title: 'Test Menu 2', content: - '', + '', } ); await editor.insertBlock( { name: 'core/navigation' } ); @@ -250,7 +250,7 @@ test.describe( 'Navigation block', () => { await requestUtils.createNavigationMenu( { title: 'Test Menu', content: - '', + '', } ); await editor.insertBlock( { name: 'core/navigation' } ); @@ -960,8 +960,8 @@ test.describe( 'Navigation block - Frontend interactivity', () => { await requestUtils.createNavigationMenu( { title: 'Hidden menu', content: ` - - + + `, } ); await editor.insertBlock( { @@ -1023,18 +1023,18 @@ test.describe( 'Navigation block - Frontend interactivity', () => { await requestUtils.createNavigationMenu( { title: 'Hidden menu', content: ` - + - + - + - + - + - + `, } ); await editor.insertBlock( { @@ -1142,9 +1142,9 @@ test.describe( 'Navigation block - Frontend interactivity', () => { title: 'Hidden menu', content: ` - + - + `, @@ -1207,7 +1207,7 @@ test.describe( 'Navigation block - Frontend interactivity', () => { title: 'Page list menu', content: ` - + `, } ); await editor.insertBlock( {