diff --git a/public/app/core/components/AppChrome/MegaMenu/MegaMenu.test.tsx b/public/app/core/components/AppChrome/MegaMenu/MegaMenu.test.tsx index 5267d50c0f4..3d220c4b80c 100644 --- a/public/app/core/components/AppChrome/MegaMenu/MegaMenu.test.tsx +++ b/public/app/core/components/AppChrome/MegaMenu/MegaMenu.test.tsx @@ -52,6 +52,7 @@ describe('MegaMenu', () => { it('should filter out profile', async () => { setup(); + expect(await screen.findByTestId(selectors.components.NavMenu.Menu)).toBeInTheDocument(); expect(screen.queryByLabelText('Profile')).not.toBeInTheDocument(); }); });