diff --git a/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js b/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js index e1f6b0985e375..cecceeffd4ba3 100644 --- a/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js +++ b/packages/e2e-tests/specs/editor/various/inserting-blocks.test.js @@ -318,7 +318,7 @@ describe( 'Inserting blocks', () => { ); await browseAll.click(); const availableBlocks = await page.$$( - '.block-editor-block-types-list__list-item' + '.edit-post-editor__inserter-panel .block-editor-block-types-list__list-item' ); expect( availableBlocks ).toHaveLength( 1 ); } );