From 5a1aa0809bd13f35f127dbd53cd7256206350b23 Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Mon, 10 Feb 2025 13:06:55 +0100 Subject: [PATCH 1/5] unskip --- .../disabled/uninstall_agent_from_host.cy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.ts index 6164f83b66db4..6f82d9c98a0cf 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.ts @@ -21,9 +21,7 @@ import { enableAllPolicyProtections } from '../../../tasks/endpoint_policy'; import { createEndpointHost } from '../../../tasks/create_endpoint_host'; import { deleteAllLoadedEndpointData } from '../../../tasks/delete_all_endpoint_data'; -// FLAKY: https://github.com/elastic/kibana/issues/207423 -// Failing: See https://github.com/elastic/kibana/issues/207423 -describe.skip( +describe( 'Uninstall agent from host when agent tamper protection is disabled', { tags: ['@ess'] }, () => { From ece9da8bd0b9ce16da6f71c09f9b697c51cb7459 Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Tue, 11 Feb 2025 10:10:42 +0100 Subject: [PATCH 2/5] flaky test runner --- .../public/management/cypress/cypress_base.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts index 0b64db4c29801..8a02f25474a0a 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts @@ -77,7 +77,9 @@ export const getCypressBaseConfig = ( // baseUrl: To override, set Env. variable `CYPRESS_BASE_URL` baseUrl: 'http://localhost:5601', supportFile: 'public/management/cypress/support/e2e.ts', - specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', + // specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', + specPattern: + 'public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.{js,jsx,ts,tsx}', experimentalRunAllSpecs: true, experimentalMemoryManagement: true, experimentalInteractiveRunEvents: true, From 1d5ba84cd598b3b9730146460043ad30fba48b6f Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Tue, 11 Feb 2025 11:05:12 +0100 Subject: [PATCH 3/5] flaky test runner off --- .../public/management/cypress/cypress_base.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts index 8a02f25474a0a..0b64db4c29801 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts @@ -77,9 +77,7 @@ export const getCypressBaseConfig = ( // baseUrl: To override, set Env. variable `CYPRESS_BASE_URL` baseUrl: 'http://localhost:5601', supportFile: 'public/management/cypress/support/e2e.ts', - // specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', - specPattern: - 'public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.{js,jsx,ts,tsx}', + specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', experimentalRunAllSpecs: true, experimentalMemoryManagement: true, experimentalInteractiveRunEvents: true, From 61c22b3d5b7d6e93c2e5b8f5ed15022b381a2f16 Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Tue, 11 Feb 2025 11:07:18 +0100 Subject: [PATCH 4/5] flaky test runner --- .../public/management/cypress/cypress_base.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts index 0b64db4c29801..8a02f25474a0a 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts @@ -77,7 +77,9 @@ export const getCypressBaseConfig = ( // baseUrl: To override, set Env. variable `CYPRESS_BASE_URL` baseUrl: 'http://localhost:5601', supportFile: 'public/management/cypress/support/e2e.ts', - specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', + // specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', + specPattern: + 'public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.{js,jsx,ts,tsx}', experimentalRunAllSpecs: true, experimentalMemoryManagement: true, experimentalInteractiveRunEvents: true, From e913f32a2ca2a4c618de7a501196b64330d66216 Mon Sep 17 00:00:00 2001 From: "konrad.szwarc" Date: Wed, 12 Feb 2025 12:00:56 +0100 Subject: [PATCH 5/5] rollback flaky test config --- .../public/management/cypress/cypress_base.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts index 8a02f25474a0a..0b64db4c29801 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/cypress_base.config.ts @@ -77,9 +77,7 @@ export const getCypressBaseConfig = ( // baseUrl: To override, set Env. variable `CYPRESS_BASE_URL` baseUrl: 'http://localhost:5601', supportFile: 'public/management/cypress/support/e2e.ts', - // specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', - specPattern: - 'public/management/cypress/e2e/tamper_protection/disabled/uninstall_agent_from_host.cy.{js,jsx,ts,tsx}', + specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', experimentalRunAllSpecs: true, experimentalMemoryManagement: true, experimentalInteractiveRunEvents: true,