diff --git a/public/app/features/alerting/unified/RuleList.test.tsx b/public/app/features/alerting/unified/RuleList.test.tsx index 3c9041b39f9..fcc4018909b 100644 --- a/public/app/features/alerting/unified/RuleList.test.tsx +++ b/public/app/features/alerting/unified/RuleList.test.tsx @@ -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');