diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts index fba4a5ab6ec75..f47eea3e527f5 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts @@ -20,6 +20,7 @@ import { } from '../../../screens/alerts_detection_rules'; import { deleteFirstRule, + disableAutoRefresh, getRulesManagementTableRows, selectAllRules, selectRulesByName, @@ -34,6 +35,7 @@ import { import { createAndInstallMockedPrebuiltRules, getAvailablePrebuiltRulesCount, + preventPrebuiltRulesPackageInstallation, } from '../../../tasks/api_calls/prebuilt_rules'; import { cleanKibana, @@ -59,10 +61,12 @@ describe('Prebuilt rules', { tags: [tag.ESS, tag.SERVERLESS] }, () => { login(); deleteAlertsAndRules(); deletePrebuiltRulesAssets(); + preventPrebuiltRulesPackageInstallation(); visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); createAndInstallMockedPrebuiltRules({ rules }); cy.reload(); waitForPrebuiltDetectionRulesToBeLoaded(); + disableAutoRefresh(); }); describe('Alerts rules, prebuilt rules', () => {