Skip to content

Commit

Permalink
Site Editor: Fix e2e test errors introduced by template sidebar (#28950)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 authored Feb 11, 2021
1 parent 80d77fd commit beb765c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)' );
} );
} );
Expand Down

0 comments on commit beb765c

Please sign in to comment.