diff --git a/test/functional/services/combo_box.ts b/test/functional/services/combo_box.ts index 8f5b4bed1e89..33610e64f1c7 100644 --- a/test/functional/services/combo_box.ts +++ b/test/functional/services/combo_box.ts @@ -54,7 +54,8 @@ export function ComboBoxProvider({ getService, getPageObjects }: FtrProviderCont * @param element element that wraps up option */ private async clickOption(isMouseClick: boolean, element: WebElementWrapper): Promise { - return isMouseClick ? await element.clickMouseButton() : await element.click(); + // element.click causes scrollIntoView which causes combobox to close, using _webElement.click instead + return isMouseClick ? await element.clickMouseButton() : await element._webElement.click(); } /**