From f740f24cf4508557679d4d54c4d3010d5ab6378d Mon Sep 17 00:00:00 2001 From: shahzad31 Date: Wed, 4 Jan 2023 13:33:48 +0100 Subject: [PATCH] fix issue --- .../synthetics/components/test_run_details/step_tabs.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/step_tabs.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/step_tabs.tsx index b7f884a7eee9..a623f71823a9 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/step_tabs.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/step_tabs.tsx @@ -81,6 +81,12 @@ export const StepTabs = ({ {step?.synthetics?.payload?.source} ); + case 'stackTrace': + return ( + + {getBrowserConsoles(1)?.join('\n')} + + ); case 'console': return ( @@ -91,7 +97,7 @@ export const StepTabs = ({ default: return ( - {getBrowserConsoles(1)?.join('\n')} + {step?.synthetics?.payload?.source} ); }