From e97be8e36525955d4db899432b051efa80ffd88c Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Thu, 19 Mar 2020 00:29:35 +0300 Subject: [PATCH] fix wrong function call --- test/functional/services/combo_box.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/services/combo_box.ts b/test/functional/services/combo_box.ts index 59fd7d22be6a2..eb9d9b6404eab 100644 --- a/test/functional/services/combo_box.ts +++ b/test/functional/services/combo_box.ts @@ -261,7 +261,7 @@ export function ComboBoxProvider({ getService, getPageObjects }: FtrProviderCont public async openOptionsList(comboBoxElement: WebElementWrapper): Promise { const isOptionsListOpen = await testSubjects.exists('~comboBoxOptionsList'); if (!isOptionsListOpen) { - const toggleBtn = await comboBoxElement.findAll('comboBoxToggleListButton'); + const toggleBtn = await comboBoxElement.find('comboBoxToggleListButton'); await toggleBtn.click(); } }