mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Wait for loading indicator to disappear to signify completion of clickNewSearch() in Visualize page object.
This commit is contained in:
parent
621131b25c
commit
80801591f5
1 changed files with 1 additions and 2 deletions
|
@ -151,8 +151,7 @@ export default class VisualizePage {
|
|||
.setFindTimeout(defaultFindTimeout)
|
||||
.findByCssSelector('.list-group-item a')
|
||||
.click().then(() => {
|
||||
// Wait for the page to render, otherwise we will get an error if Jenkins is too slow.
|
||||
return PageObjects.common.sleep(200);
|
||||
return PageObjects.header.isGlobalLoadingIndicatorHidden();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue