diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/custom_saved_query_rule.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/custom_saved_query_rule.cy.ts index 913218797fd76..48f2bd4002f3b 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/custom_saved_query_rule.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/custom_saved_query_rule.cy.ts @@ -132,22 +132,27 @@ describe('Saved query rules', { tags: ['@ess', '@serverless'] }, () => { cy.get(TOASTER).should('contain', FAILED_TO_LOAD_ERROR); }); - it('Allows to update saved_query rule with non-existent query', () => { - cy.get(LOAD_QUERY_DYNAMICALLY_CHECKBOX).should('exist'); - - cy.intercept('PUT', '/api/detection_engine/rules').as('editedRule'); - saveEditedRule(); - - cy.wait('@editedRule').then(({ response }) => { - // updated rule type shouldn't change - cy.wrap(response?.body.type).should('equal', 'saved_query'); - }); - - cy.get(DEFINE_RULE_PANEL_PROGRESS).should('not.exist'); - - assertDetailsNotExist(SAVED_QUERY_NAME_DETAILS); - assertDetailsNotExist(SAVED_QUERY_DETAILS); - }); + // https://github.com/elastic/kibana/issues/187623 + it( + 'Allows to update saved_query rule with non-existent query', + { tags: ['@skipInServerlessMKI'] }, + () => { + cy.get(LOAD_QUERY_DYNAMICALLY_CHECKBOX).should('exist'); + + cy.intercept('PUT', '/api/detection_engine/rules').as('editedRule'); + saveEditedRule(); + + cy.wait('@editedRule').then(({ response }) => { + // updated rule type shouldn't change + cy.wrap(response?.body.type).should('equal', 'saved_query'); + }); + + cy.get(DEFINE_RULE_PANEL_PROGRESS).should('not.exist'); + + assertDetailsNotExist(SAVED_QUERY_NAME_DETAILS); + assertDetailsNotExist(SAVED_QUERY_DETAILS); + } + ); }); }); diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/machine_learning_rule.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/machine_learning_rule.cy.ts index 57c0c39f8a8f9..50ca504e7a125 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/machine_learning_rule.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_creation/machine_learning_rule.cy.ts @@ -54,7 +54,8 @@ import { CREATE_RULE_URL } from '../../../../urls/navigation'; import { forceStopAndCloseJob } from '../../../../support/machine_learning'; import { deleteAlertsAndRules } from '../../../../tasks/api_calls/common'; -describe('Machine Learning rules', { tags: ['@ess', '@serverless'] }, () => { +// https://github.com/elastic/kibana/issues/187622 +describe('Machine Learning rules', { tags: ['@ess', '@serverless, @skipInServerlessMKI'] }, () => { const expectedUrls = (getMachineLearningRule().references ?? []).join(''); const expectedFalsePositives = (getMachineLearningRule().false_positives ?? []).join(''); const expectedTags = (getMachineLearningRule().tags ?? []).join(''); diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_edit/indicator_match_rule.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_edit/indicator_match_rule.cy.ts index 7d5a21b6f7c82..378bcedf835f6 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_edit/indicator_match_rule.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_engine/rule_edit/indicator_match_rule.cy.ts @@ -56,7 +56,9 @@ describe( login(); deleteAlertsAndRules(); }); - describe('without suppression', () => { + + // https://github.com/elastic/kibana/issues/187621 + describe('without suppression', { tags: ['@skipInServerlessMKI'] }, () => { beforeEach(() => { createRule(rule); });