Test(widgets-list): add tests (#3697)
This commit is contained in:
@ -109,7 +109,7 @@ class ObjectWidgetTopBar extends React.Component {
|
||||
return (
|
||||
<TopBarContainer>
|
||||
<ExpandButtonContainer hasHeading={!!heading}>
|
||||
<ExpandButton onClick={onCollapseToggle}>
|
||||
<ExpandButton onClick={onCollapseToggle} data-testid="expand-button">
|
||||
<Icon type="chevron" direction={collapsed ? 'right' : 'down'} size="small" />
|
||||
</ExpandButton>
|
||||
{heading}
|
||||
|
Reference in New Issue
Block a user