From 4dbe461d497e5901c8cb11303e7c0471bc02efe6 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 9 Sep 2024 16:58:51 -0500 Subject: [PATCH] test: adjust sidebar link test --- static/app/components/sidebar/index.spec.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/app/components/sidebar/index.spec.tsx b/static/app/components/sidebar/index.spec.tsx index 6f132193db5a7f..bc84bb45079d51 100644 --- a/static/app/components/sidebar/index.spec.tsx +++ b/static/app/components/sidebar/index.spec.tsx @@ -323,9 +323,7 @@ describe('Sidebar', function () { expect(apiMocks.broadcasts).toHaveBeenCalled(); }); - expect( - screen.getByRole('navigation', {name: 'Primary Navigation'}) - ).toBeInTheDocument(); + expect(screen.getByTitle('Primary Navigation')).toBeInTheDocument(); }); it('in self-hosted-errors-only mode, only shows links to basic features', async function () {