mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
237d68d6e9
commit
a720a021a4
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ export class ComboBoxService extends FtrService {
|
|||
*/
|
||||
private async clickOption(isMouseClick: boolean, element: WebElementWrapper): Promise<void> {
|
||||
// element.click causes scrollIntoView which causes combobox to close, using _webElement.click instead
|
||||
return isMouseClick ? await element.clickMouseButton() : await element._webElement.click();
|
||||
await this.retry.try(async () => {
|
||||
return isMouseClick ? await element.clickMouseButton() : await element._webElement.click();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue