diff --git a/x-pack/solutions/security/test/cloud_security_posture_functional/page_objects/entity_flyout.ts b/x-pack/solutions/security/test/cloud_security_posture_functional/page_objects/entity_flyout.ts index 9f2169f02b268..a6a6a9f35c19e 100644 --- a/x-pack/solutions/security/test/cloud_security_posture_functional/page_objects/entity_flyout.ts +++ b/x-pack/solutions/security/test/cloud_security_posture_functional/page_objects/entity_flyout.ts @@ -78,5 +78,7 @@ export class EntityFlyoutPageObject extends FtrService { return; } } + + throw new Error(`Entity "${entityName}" not found`); } }