From 702e8b49797a5ee4cbad15b7c328e7ff6aeae016 Mon Sep 17 00:00:00 2001 From: Juan Pablo Djeredjian Date: Tue, 24 Oct 2023 21:29:48 +0200 Subject: [PATCH] [8.11] [Security Solution] Enable Serverless for `entity_analytics` Cypress tests (#169209) (#169682) # Backport This will backport the following commits from `main` to `8.11`: - [[Security Solution] Enable Serverless for `entity_analytics` Cypress tests (#169209)](https://github.com/elastic/kibana/pull/169209) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) --- .../cypress/e2e/detection_alerts/enrichments.cy.ts | 6 +++--- .../entity_analytics/entity_analytics_management_page.cy.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/detection_alerts/enrichments.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/detection_alerts/enrichments.cy.ts index 0c5662146b810..f5716f33ff288 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/detection_alerts/enrichments.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/detection_alerts/enrichments.cy.ts @@ -36,8 +36,7 @@ import { enableRiskEngine } from '../../tasks/entity_analytics'; const CURRENT_HOST_RISK_LEVEL = 'Current host risk level'; const ORIGINAL_HOST_RISK_LEVEL = 'Original host risk level'; -// TODO: https://github.com/elastic/kibana/issues/161539 -describe('Enrichment', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => { +describe('Enrichment', { tags: ['@ess', '@serverless'] }, () => { before(() => { cleanKibana(); cy.task('esArchiverUnload', 'risk_scores_new'); @@ -50,7 +49,8 @@ describe('Enrichment', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, }); describe('Custom query rule', () => { - describe('from legacy risk scores', () => { + // FLAKY: https://github.com/elastic/kibana/issues/169154 + describe.skip('from legacy risk scores', () => { beforeEach(() => { disableExpandableFlyout(); cy.task('esArchiverLoad', { archiveName: 'risk_hosts' }); diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/entity_analytics_management_page.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/entity_analytics_management_page.cy.ts index 4f4cb0a505712..1e93f1fb21421 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/entity_analytics_management_page.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/entity_analytics_management_page.cy.ts @@ -43,7 +43,7 @@ import { describe( 'Entity analytics management page', { - tags: ['@ess', '@serverless', '@brokenInServerless'], + tags: ['@ess', '@serverless'], }, () => { before(() => {