From dd3dab91bce848c297445d06bb17902401fb39ad Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 9 Oct 2024 15:32:18 +0200 Subject: [PATCH] Try to fix performance test. --- test/performance/specs/post-editor.spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/performance/specs/post-editor.spec.js b/test/performance/specs/post-editor.spec.js index 7dd975727d4025..7e2071d2177260 100644 --- a/test/performance/specs/post-editor.spec.js +++ b/test/performance/specs/post-editor.spec.js @@ -370,7 +370,6 @@ test.describe( 'Post Editor Performance', () => { await perfUtils.disableAutosave(); const globalInserterToggle = page.getByRole( 'button', { name: 'Block Inserter', - exact: true, } ); const samples = 10; @@ -427,7 +426,6 @@ test.describe( 'Post Editor Performance', () => { await perfUtils.disableAutosave(); const globalInserterToggle = page.getByRole( 'button', { name: 'Block Inserter', - exact: true, } ); // Open Inserter. await globalInserterToggle.click(); @@ -487,7 +485,6 @@ test.describe( 'Post Editor Performance', () => { const globalInserterToggle = page.getByRole( 'button', { name: 'Block Inserter', - exact: true, } ); const paragraphBlockItem = page.locator( '.block-editor-inserter__menu .editor-block-list-item-paragraph' @@ -540,7 +537,6 @@ test.describe( 'Post Editor Performance', () => { await perfUtils.disableAutosave(); const globalInserterToggle = page.getByRole( 'button', { name: 'Block Inserter', - exact: true, } ); const testPatterns = [