Skip to content

Commit

Permalink
Properly wait for search list to load (#16388)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes authored Jan 30, 2018
1 parent 270455d commit 9979f10
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 @@ -55,6 +55,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 9979f10

Please sign in to comment.