fixes 'management scripted fields preview should display additional fields' when run with a HEAD (#59213)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
543481ba53
commit
07edafdfa7
|
@ -54,7 +54,8 @@ export function ComboBoxProvider({ getService, getPageObjects }: FtrProviderCont
|
||||||
* @param element element that wraps up option
|
* @param element element that wraps up option
|
||||||
*/
|
*/
|
||||||
private async clickOption(isMouseClick: boolean, element: WebElementWrapper): Promise<void> {
|
private async clickOption(isMouseClick: boolean, element: WebElementWrapper): Promise<void> {
|
||||||
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue