fix wrapped retry error. This was copied code from 6.x, which didn't have the back ported version (#13967)
This commit is contained in:
parent
a8171c2d4a
commit
60ad20f8c1
|
@ -612,7 +612,8 @@ export function VisualizePageProvider({ getService, getPageObjects }) {
|
|||
if (!onPage) {
|
||||
await retry.try(async () => {
|
||||
await this.clickLandingPageBreadcrumbLink();
|
||||
await testSubjects.find('visualizationSearchFilter');
|
||||
const onLandingPage = await this.onLandingPage();
|
||||
if (!onLandingPage) throw new Error('Not on the landing page.');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue