[8.8] [Synthetics] hide error panel for test run logs for lightweight monitors (#157791) (#157836)

# Backport

This will backport the following commits from `main` to `8.8`:
- [[Synthetics] hide error panel for test run logs for lightweight
monitors (#157791)](https://github.com/elastic/kibana/pull/157791)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-05-16T08:04:38Z","message":"[Synthetics]
hide error panel for test run logs for lightweight monitors
(#157791)","sha":"2dfaf21c64558c7300d7d6491d40992b5657b7d1","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.8.0","v8.9.0"],"number":157791,"url":"https://github.com/elastic/kibana/pull/157791","mergeCommit":{"message":"[Synthetics]
hide error panel for test run logs for lightweight monitors
(#157791)","sha":"2dfaf21c64558c7300d7d6491d40992b5657b7d1"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157791","number":157791,"mergeCommit":{"message":"[Synthetics]
hide error panel for test run logs for lightweight monitors
(#157791)","sha":"2dfaf21c64558c7300d7d6491d40992b5657b7d1"}}]}]
BACKPORT-->

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
This commit is contained in:
Kibana Machine 2023-05-16 05:16:09 -04:00 committed by GitHub
parent 5e2ac5429b
commit e33d8f82a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,14 +65,18 @@ export function ErrorDetailsPage() {
stepsLoading={stepsLoading}
isErrorDetails={true}
/>
<EuiSpacer size="m" />
<EuiPanel hasShadow={false} hasBorder>
<TestRunErrorInfo
journeyDetails={data?.details}
showErrorTitle={false}
showErrorLogs={true}
/>
</EuiPanel>
{isBrowser && (
<>
<EuiSpacer size="m" />
<EuiPanel hasShadow={false} hasBorder>
<TestRunErrorInfo
journeyDetails={data?.details}
showErrorTitle={false}
showErrorLogs={true}
/>
</EuiPanel>
</>
)}
</EuiFlexItem>
<EuiFlexItem grow={1} style={{ height: 'fit-content' }}>
{data?.details?.journey && failedStep && (