diff --git a/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx index 9b4fcf5d8a273..1385d35efc2f8 100644 --- a/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/components/asset_details/template/flyout.tsx @@ -55,6 +55,7 @@ export const Flyout = ({ return ( { await testSubjects.click('hostsView-flyout-button'); }); + await testSubjects.existOrFail('infraAssetDetailsFlyout', { timeout: 10000 }); }, async clickHostCheckbox(id: string, os: string) {