mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
Chore: wait for component to render properly to prevent act warning (#80016)
wait for component to render properly to prevent act warning
This commit is contained in:
parent
70a25eaf2c
commit
5154a9d99c
@ -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();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user