Skip to content

Commit

Permalink
Properly wait for search list to load (elastic#16388)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes committed Jan 30, 2018
1 parent 4a22f94 commit a3cd5ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/page_objects/discover_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export function DiscoverPageProvider({ getService, getPageObjects }) {

async hasSavedSearch(searchName) {
await this.clickLoadSavedSearchButton();
await PageObjects.header.waitUntilLoadingHasFinished();
const searchLink = await find.byPartialLinkText(searchName);
return searchLink.isDisplayed();
}
Expand Down

0 comments on commit a3cd5ea

Please sign in to comment.