From 5740116f30c07fa16870c09b94ec4037fd0fedca Mon Sep 17 00:00:00 2001 From: Tiago Vila Verde Date: Wed, 20 Dec 2023 17:30:24 +0100 Subject: [PATCH] allowing feature flag in cypress tests --- .../entity_analytics/asset_criticality/host_flyout.cy.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/asset_criticality/host_flyout.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/asset_criticality/host_flyout.cy.ts index 8052430541c0e..15ca0cfbabe02 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/asset_criticality/host_flyout.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/entity_analytics/asset_criticality/host_flyout.cy.ts @@ -34,7 +34,11 @@ describe( tags: ['@ess', '@serverless'], env: { ftrConfig: { - enableExperimental: ['entityAnalyticsAssetCriticalityEnabled'], + kbnServerArgs: [ + `--xpack.securitySolution.enableExperimental=${JSON.stringify([ + 'entityAnalyticsAssetCriticalityEnabled', + ])}`, + ], }, }, },