diff --git a/src/lib/components/Sidebar/Sidebar.spec.tsx b/src/lib/components/Sidebar/Sidebar.spec.tsx index b852b0d89..428bd37e9 100644 --- a/src/lib/components/Sidebar/Sidebar.spec.tsx +++ b/src/lib/components/Sidebar/Sidebar.spec.tsx @@ -117,30 +117,6 @@ describe.concurrent('Components / Sidebar', () => { }); }); - describe('`Sidebar.Collapse` and `Sidebar.Item`', () => { - it('should display tooltip', () => { - const items = getSidebarItems(render()); - - items.forEach((item) => { - expect(item.firstElementChild).toHaveAttribute('data-testid', 'tooltip-target'); - }); - }); - - it("shouldn't display text content", () => { - const items = getSidebarItemContents(render()); - - items.forEach((item) => expect(item).toHaveClass('hidden')); - }); - }); - - describe('`Sidebar.Item`', () => { - it("shouldn't display `label`", () => { - const labels = getSidebarLabels(render()); - - labels.forEach((label) => expect(label).not.toBeVisible()); - }); - }); - describe('`Sidebar.Logo`', () => { it("shouldn't display text content", () => { const logo = getSidebarLogo(render()); diff --git a/src/lib/components/Sidebar/Sidebar.stories.tsx b/src/lib/components/Sidebar/Sidebar.stories.tsx index a5d16510a..32e05a330 100644 --- a/src/lib/components/Sidebar/Sidebar.stories.tsx +++ b/src/lib/components/Sidebar/Sidebar.stories.tsx @@ -184,7 +184,7 @@ CTAButton.args = {
- Beta + Beta