From a4cc53be88c6a22854b577af02511f723480ab0c Mon Sep 17 00:00:00 2001 From: Jatin Kathuria Date: Mon, 29 Apr 2024 15:31:56 +0200 Subject: [PATCH 1/2] fix: skip flaky test --- .../e2e/investigations/alerts/detection_page_filters.cy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts index c8e3a18e5e5c0..ce95eed9c6671 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts @@ -217,7 +217,8 @@ describe(`Detections : Page Filters`, { tags: ['@ess', '@serverless'] }, () => { cy.get(FILTER_GROUP_CHANGED_BANNER).should('be.visible'); }); - context('with data modification', () => { + // Flaky: https://github.com/elastic/kibana/issues/181977 + context.skip('with data modification', () => { /* * * default scrollBehavior is true, which scrolls the element into view automatically without any scroll Margin From 5c77b4f462a38aa85264302fcc9a3058324f6c54 Mon Sep 17 00:00:00 2001 From: Jatin Kathuria Date: Mon, 29 Apr 2024 15:53:47 +0200 Subject: [PATCH 2/2] unskip complete suite and skip only flaky test --- .../e2e/investigations/alerts/detection_page_filters.cy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts index 134243fb1ed79..ce95eed9c6671 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/alerts/detection_page_filters.cy.ts @@ -105,8 +105,7 @@ const assertFilterControlsWithFilterObject = ( }); }; -// FLAKY: https://github.com/elastic/kibana/issues/181977 -describe.skip(`Detections : Page Filters`, { tags: ['@ess', '@serverless'] }, () => { +describe(`Detections : Page Filters`, { tags: ['@ess', '@serverless'] }, () => { beforeEach(() => { deleteAlertsAndRules(); createRule(getNewRule());