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)

## Summary

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

## Changes

-
`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**

## Related failing-test issues

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

### Flaky test runner link

-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3575
  • Loading branch information
jpdjere authored Oct 24, 2023
1 parent 939c87d commit 12975a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +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
// FLAKY: https://github.com/elastic/kibana/issues/169154
describe.skip('Enrichment', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => {
describe('Enrichment', { tags: ['@ess', '@serverless'] }, () => {
before(() => {
cleanKibana();
cy.task('esArchiverUnload', 'risk_scores_new');
Expand All @@ -51,7 +49,8 @@ describe.skip('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 12975a5

Please sign in to comment.