diff --git a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/endpoint_details/insights_ab.cy.ts b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/endpoint_details/insights_ab.cy.ts index 8417682a57e42..7a5b745782cd3 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/endpoint_details/insights_ab.cy.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/management/cypress/e2e/endpoint_details/insights_ab.cy.ts @@ -29,8 +29,7 @@ const { connectorSelectorExists, } = workflowInsightsSelectors; -// Failing: See https://github.com/elastic/kibana/issues/262661 -describe.skip( +describe( 'Workflow Insights (AB path)', { env: { @@ -94,6 +93,10 @@ describe.skip( connectorSelectorExists(); scanButtonShouldBe('enabled'); + + // Override pending stub to return running execution BEFORE clicking scan. + // Without this, the post-click poll immediately gets [] and completes the scan. + fetchRunningWorkflowInsights(); clickScanButton(); cy.wait('@createWorkflowInsights', { timeout: 30 * 1000 });