mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
18eef81292
commit
8c77035b14
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ export function TestSubjectsProvider({ getService }) {
|
|||
});
|
||||
}
|
||||
|
||||
async click(selector) {
|
||||
async click(selector, timeout = defaultFindTimeout) {
|
||||
return await retry.try(async () => {
|
||||
const element = await this.find(selector);
|
||||
const element = await this.find(selector, timeout);
|
||||
await remote.moveMouseTo(element);
|
||||
await element.click();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue