diff --git a/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx b/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx index 794dd23747..d290001eb8 100644 --- a/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx +++ b/plugins/org/src/components/MyGroupsSidebarItem/MyGroupsSidebarItem.test.tsx @@ -58,9 +58,7 @@ describe('MyGroupsSidebarItem Test', () => { }, }, ); - expect( - rendered.getByText('Mounted at /catalog/:namespace/:kind/:name'), - ).toBeInTheDocument(); + expect(rendered.container).toBeEmptyDOMElement(); }); });