diff --git a/packages/e2e-tests/specs/experiments/settings-sidebar.test.js b/packages/e2e-tests/specs/experiments/settings-sidebar.test.js index 457fb0ae85921..7d82b95f48cae 100644 --- a/packages/e2e-tests/specs/experiments/settings-sidebar.test.js +++ b/packages/e2e-tests/specs/experiments/settings-sidebar.test.js @@ -92,10 +92,7 @@ describe( 'Settings sidebar', () => { await selectBlockByClientId( allBlocks[ 0 ].clientId ); await toggleSidebar(); - // TODO: Remove when toolbar supports text fields - expect( console ).toHaveWarnedWith( - 'Using custom components as toolbar controls is deprecated. Please use ToolbarItem or ToolbarButton components instead. See: https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols' - ); + expect( await getActiveTabLabel() ).toEqual( 'Block (selected)' ); } ); } );