test(MyGroupsSidebarItem): ensure Team A is not rendered in the document
Signed-off-by: Dhruv Joshi <d.joshi@theaccessgroup.com>
This commit is contained in:
@@ -195,6 +195,7 @@ describe('MyGroupsSidebarItem Test', () => {
|
||||
|
||||
expect(rendered.getByLabelText('My Squads')).toBeInTheDocument();
|
||||
expect(rendered.getByLabelText('Team B')).toBeInTheDocument();
|
||||
expect(rendered.getByLabelText('Team A')).not.toBeInTheDocument();
|
||||
expect(rendered.getByLabelText('Team C')).toHaveAttribute(
|
||||
'href',
|
||||
'/catalog/default/Group/team-c',
|
||||
|
||||
Reference in New Issue
Block a user