diff --git a/x-pack/plugins/security_solution/scripts/run_cypress/parallel.ts b/x-pack/plugins/security_solution/scripts/run_cypress/parallel.ts index 08c0846d2ce8e..4b0f586779270 100644 --- a/x-pack/plugins/security_solution/scripts/run_cypress/parallel.ts +++ b/x-pack/plugins/security_solution/scripts/run_cypress/parallel.ts @@ -493,10 +493,15 @@ ${JSON.stringify(cyCustomEnv, null, 2)} (runResult) => !failedSpecFilePaths.includes(runResult.spec.absolute) ) ), - ...retryResults, + ..._.filter(retryResults, (retryResult) => !!retryResult), ] as CypressCommandLine.CypressRunResult[]; - renderSummaryTable(finalResults); + try { + renderSummaryTable(finalResults); + } catch (e) { + log.error('Failed to render summary table'); + log.error(e); + } const hasFailedTests = ( runResults: Array<