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:
Dhruv Joshi
2025-01-06 15:46:32 +00:00
parent 14e186bebf
commit 9792e330b6
@@ -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',