Alerting: Fix flakey test assertion in notification policies (#120166)

This commit is contained in:
Gilles De Mey
2026-03-12 12:25:49 +01:00
committed by GitHub
parent ee6e93c8d4
commit 31a811d873

View File

@@ -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);
});
});
});