diff --git a/test/functional/page_objects/discover_page.js b/test/functional/page_objects/discover_page.js index 79442136d5072..c704664ec4a52 100644 --- a/test/functional/page_objects/discover_page.js +++ b/test/functional/page_objects/discover_page.js @@ -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(); }