Skip to content

Commit

Permalink
[Security Solution] Enable Serverless for entity_analytics Cypress …
Browse files Browse the repository at this point in the history
…tests (elastic#169209)

Running flaky test runner for
`x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics`

-
`x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/enrichments.cy.ts`
**unskipped whole test suite in favour of failing test -> `Custom Query
rule - from legacy risk scores`** (see below) **also enabled on
Serverless**
-
`x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/entity_analytics_management_page.cy.ts`
**enabled on Serverless**

1. elastic#169154
**Marked as legit-flake and assigned to
@elastic/security-detection-engine**

-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3575

(cherry picked from commit 12975a5)
  • Loading branch information
jpdjere committed Oct 24, 2023
1 parent 34f92a2 commit b8e1c40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
describe(
'Entity analytics management page',
{
tags: ['@ess', '@serverless', '@brokenInServerless'],
tags: ['@ess', '@serverless'],
},
() => {
before(() => {
Expand Down

0 comments on commit b8e1c40

Please sign in to comment.