From 29426ba60af6e7f25804e4301c38051c353218e2 Mon Sep 17 00:00:00 2001 From: jpdjere Date: Fri, 25 Aug 2023 12:29:07 +0200 Subject: [PATCH] Changes --- .../e2e/detection_rules/prebuilt_rules_management.cy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/prebuilt_rules_management.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/prebuilt_rules_management.cy.ts index f36d8f7fa0948..fd5c84a490c6d 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/prebuilt_rules_management.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/prebuilt_rules_management.cy.ts @@ -22,6 +22,7 @@ import { confirmRulesDelete, deleteFirstRule, deleteSelectedRules, + disableAutoRefresh, disableSelectedRules, enableSelectedRules, selectAllRules, @@ -32,6 +33,7 @@ import { import { createAndInstallMockedPrebuiltRules, getAvailablePrebuiltRulesCount, + preventPrebuiltRulesPackageInstallation, } from '../../tasks/api_calls/prebuilt_rules'; import { cleanKibana, deleteAlertsAndRules, deletePrebuiltRulesAssets } from '../../tasks/common'; import { login, visitWithoutDateRange } from '../../tasks/login'; @@ -53,9 +55,11 @@ describe('Prebuilt rules', () => { login(); deleteAlertsAndRules(); deletePrebuiltRulesAssets(); + preventPrebuiltRulesPackageInstallation(); visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); createAndInstallMockedPrebuiltRules({ rules }); cy.reload(); + disableAutoRefresh(); waitForPrebuiltDetectionRulesToBeLoaded(); });