diff --git a/public/app/features/alerting/unified/hooks/ruleGroup/usePauseAlertRule.test.tsx b/public/app/features/alerting/unified/hooks/ruleGroup/usePauseAlertRule.test.tsx index df57efb9ac5..3e0fb534781 100644 --- a/public/app/features/alerting/unified/hooks/ruleGroup/usePauseAlertRule.test.tsx +++ b/public/app/features/alerting/unified/hooks/ruleGroup/usePauseAlertRule.test.tsx @@ -31,7 +31,6 @@ describe('pause rule', () => { expect(byText(/uninitialized/i).get()).toBeInTheDocument(); await userEvent.click(byRole('button').get()); - expect(await byText(/loading/i).find()).toBeInTheDocument(); expect(await byText(/success/i).find()).toBeInTheDocument(); expect(await byText(/result/i).find()).toBeInTheDocument(); @@ -68,7 +67,6 @@ describe('pause rule', () => { expect(await byText(/uninitialized/i).find()).toBeInTheDocument(); await userEvent.click(byRole('button').get()); - expect(await byText(/loading/i).find()).toBeInTheDocument(); expect(byText(/success/i).query()).not.toBeInTheDocument(); expect(await byText(/error:(.+)oops/i).find()).toBeInTheDocument(); });