From fcdd2bb5193bc1e70f1f8a0866cc185744ad8f67 Mon Sep 17 00:00:00 2001 From: Gidi Meir Morris Date: Wed, 18 Mar 2020 15:53:26 +0000 Subject: [PATCH] fixed await for click on view in app --- .../test/functional_with_es_ssl/page_objects/alert_details.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/functional_with_es_ssl/page_objects/alert_details.ts b/x-pack/test/functional_with_es_ssl/page_objects/alert_details.ts index 6df96cbb94bd01..fb06c78cdc3c78 100644 --- a/x-pack/test/functional_with_es_ssl/page_objects/alert_details.ts +++ b/x-pack/test/functional_with_es_ssl/page_objects/alert_details.ts @@ -107,7 +107,7 @@ export function AlertDetailsPageProvider({ getService }: FtrProviderContext) { return (await viewInAppButton.getAttribute('disabled')) !== 'disabled'; }, async clickViewInAppEnabled() { - await testSubjects.click(`alertDetails-viewInApp`); + return await testSubjects.click(`alertDetails-viewInApp`); }, async getNoOpAppTitle() { return await testSubjects.getVisibleText('noop-title');