diff --git a/public/app/features/alerting/unified/RuleEditor.test.tsx b/public/app/features/alerting/unified/RuleEditor.test.tsx index b1fa89e3945..53e330ce300 100644 --- a/public/app/features/alerting/unified/RuleEditor.test.tsx +++ b/public/app/features/alerting/unified/RuleEditor.test.tsx @@ -132,6 +132,7 @@ describe('RuleEditor', () => { await renderRuleEditor(); await waitFor(() => expect(mocks.searchFolders).toHaveBeenCalled()); + await waitFor(() => expect(mocks.api.fetchRulerRulesGroup).toHaveBeenCalled()); userEvent.type(await ui.inputs.name.find(), 'my great new rule'); userEvent.click(await ui.buttons.lotexAlert.get());