Skip to content

Commit

Permalink
test: adjust sidebar link test
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Sep 9, 2024
1 parent 54a9580 commit 4dbe461
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions static/app/components/sidebar/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 4dbe461

Please sign in to comment.