From 7026b57eb9b2870bd7021045dcacc8d7fa08ddae Mon Sep 17 00:00:00 2001 From: Khristinin Nikita Date: Tue, 20 Sep 2022 15:38:22 +0200 Subject: [PATCH] Unskip test (#141027) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../cypress/e2e/detection_alerts/enrichments.cy.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/enrichments.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/enrichments.cy.ts index 685b06009721f2..ff1c4f6acb177b 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/enrichments.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/enrichments.cy.ts @@ -30,27 +30,31 @@ import { login, visit } from '../../tasks/login'; import { ALERTS_URL } from '../../urls/navigation'; -describe.skip('Enrichment', () => { +describe('Enrichment', () => { before(() => { cleanKibana(); - esArchiverLoad('risky_hosts'); esArchiverLoad('risky_users'); login(); }); after(() => { - esArchiverUnload('risky_hosts'); esArchiverUnload('risky_users'); - esArchiverUnload('risky_hosts_updated'); }); + describe('Custom query rule', () => { beforeEach(() => { + esArchiverLoad('risky_hosts'); deleteAlertsAndRules(); createCustomRuleEnabled(getNewRule(), 'rule1'); visit(ALERTS_URL); waitForAlertsToPopulate(); }); + afterEach(() => { + esArchiverUnload('risky_hosts'); + esArchiverUnload('risky_hosts_updated'); + }); + it('Should has enrichment fields', function () { cy.get(NUMBER_OF_ALERTS) .invoke('text')