[SECURITY_SOLUTION] Host Details Tests need to wait for title component after loading (#75748)
This commit is contained in:
parent
d5a698475c
commit
6f6566310a
1 changed files with 5 additions and 3 deletions
|
@ -81,9 +81,11 @@ export const EndpointDetailsFlyout = memo(() => {
|
|||
>
|
||||
<EuiFlyoutHeader hasBorder>
|
||||
<EuiTitle size="s">
|
||||
<h2 data-test-subj="endpointDetailsFlyoutTitle">
|
||||
{loading ? <EuiLoadingContent lines={1} /> : details?.host?.hostname}
|
||||
</h2>
|
||||
{loading ? (
|
||||
<EuiLoadingContent lines={1} />
|
||||
) : (
|
||||
<h2 data-test-subj="endpointDetailsFlyoutTitle"> {details?.host?.hostname} </h2>
|
||||
)}
|
||||
</EuiTitle>
|
||||
</EuiFlyoutHeader>
|
||||
{details === undefined ? (
|
||||
|
|
Loading…
Reference in a new issue