mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix flacky test in RulelList.test.tsx (#64725)
This commit is contained in:
parent
faef3a8258
commit
2f95171a45
@ -324,6 +324,7 @@ describe('RuleList', () => {
|
||||
expect(groups).toHaveLength(2);
|
||||
|
||||
await waitFor(() => expect(groups[0]).toHaveTextContent(/firing|pending|normal/));
|
||||
await waitFor(() => expect(groups[1]).toHaveTextContent(/firing|pending|normal/));
|
||||
|
||||
expect(groups[0]).toHaveTextContent('1 firing');
|
||||
expect(groups[1]).toHaveTextContent('1 firing');
|
||||
|
Loading…
Reference in New Issue
Block a user