mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix wrapped retry error. This was copied code from 6.x, which didn't have the back ported version (#13967) (#13979)
This commit is contained in:
parent
b5c71768dd
commit
2f1d96dbe5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue