From edce4ebcd93b524fb7481219b86ea8fd52690bdb Mon Sep 17 00:00:00 2001 From: MadameSheema Date: Wed, 7 Oct 2020 11:09:51 +0200 Subject: [PATCH] fixes flaky test (#79695) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../cypress/integration/alerts_detection_rules_eql.spec.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/security_solution/cypress/integration/alerts_detection_rules_eql.spec.ts b/x-pack/plugins/security_solution/cypress/integration/alerts_detection_rules_eql.spec.ts index 13e5edd1cfe23..087c91fda02b8 100644 --- a/x-pack/plugins/security_solution/cypress/integration/alerts_detection_rules_eql.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/alerts_detection_rules_eql.spec.ts @@ -87,13 +87,12 @@ const expectedNumberOfRules = 1; const expectedNumberOfAlerts = 7; const expectedNumberOfSequenceAlerts = 1; -// Failing: See https://github.com/elastic/kibana/issues/79522 -describe.skip('Detection rules, EQL', () => { - before(() => { +describe('Detection rules, EQL', () => { + beforeEach(() => { esArchiverLoad('timeline'); }); - after(() => { + afterEach(() => { esArchiverUnload('timeline'); });