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}
);
}