mirror of
https://github.com/grafana/grafana.git
synced 2026-03-13 15:29:48 +08:00
Alerting: Fix flakey test assertion in notification policies (#120166)
This commit is contained in:
@@ -712,7 +712,7 @@ describe('alertingNavigationV2 respects alertingMultiplePolicies', () => {
|
||||
);
|
||||
await screen.findByTestId('search-query-input');
|
||||
|
||||
expect(screen.getAllByTestId('am-root-route-container').length).toBeGreaterThan(0);
|
||||
expect((await screen.findAllByTestId('am-root-route-container')).length).toBeGreaterThan(0);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user