diff --git a/test/functional/page_objects/discover_page.js b/test/functional/page_objects/discover_page.js index ad6634b1fcb4b..6c652c03c66b4 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(); }