From cb1ca92419ced5c560ed9247fe38b9369f4f67d3 Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Wed, 21 Dec 2022 17:12:44 +0100 Subject: [PATCH] Alerting: re-enable recording rule editor test (#60639) --- .../alerting/unified/RuleEditorRecordingRule.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/RuleEditorRecordingRule.test.tsx b/public/app/features/alerting/unified/RuleEditorRecordingRule.test.tsx index bce401c0d92..9573d851405 100644 --- a/public/app/features/alerting/unified/RuleEditorRecordingRule.test.tsx +++ b/public/app/features/alerting/unified/RuleEditorRecordingRule.test.tsx @@ -38,6 +38,8 @@ jest.mock('app/features/query/components/QueryEditorRow', () => ({ jest.spyOn(config, 'getAllDataSources'); +jest.setTimeout(60 * 1000); + const mocks = { getAllDataSources: jest.mocked(config.getAllDataSources), searchFolders: jest.mocked(searchFolders), @@ -61,7 +63,7 @@ describe('RuleEditor recording rules', () => { }); disableRBAC(); - it.skip('can create a new cloud recording rule', async () => { + it('can create a new cloud recording rule', async () => { const dataSources = { default: mockDataSource( {