Skip to content

Commit

Permalink
[Synthetics] Test run logs in test run details page (#163635)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 authored Aug 24, 2023
1 parent 9e89a96 commit 8e66122
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const TestRunErrorInfo = ({
</EuiCallOut>
)}
<EuiSpacer size="m" />
{isDownMonitor && (showErrorLogs || hasNoSteps) && (
{(showErrorLogs || hasNoSteps) && (
<StdErrorLogs
checkGroup={journeyDetails?.journey?.monitor.check_group}
hideTitle={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ export const TestRunDetails = () => {
</EuiPanel>
<EuiSpacer size="m" />
<TestRunSteps isLoading={stepsLoading} steps={stepsData?.steps ?? []} />
<EuiSpacer size="m" />
<EuiPanel hasShadow={false} hasBorder>
<TestRunErrorInfo
journeyDetails={stepsData?.details}
showErrorTitle={false}
showErrorLogs={true}
/>
</EuiPanel>
</EuiFlexItem>
<EuiFlexItem css={{ flexBasis: '36%', minWidth: 'min-content' }}>
<StepDurationPanel legendPosition="bottom" />
Expand Down

0 comments on commit 8e66122

Please sign in to comment.