Skip to content

Commit

Permalink
Retry navigateToApp('ml')
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed Mar 10, 2020
1 parent b08e8ed commit 78cba13
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export function MachineLearningNavigationProvider({

return {
async navigateToMl() {
return await PageObjects.common.navigateToApp('ml');
await retry.tryForTime(60 * 1000, async () => {
await PageObjects.common.navigateToApp('ml');
await testSubjects.existOrFail('mlPageOverview');
});
},

async assertTabsExist(tabTypeSubject: string, areaSubjects: string[]) {
Expand Down

0 comments on commit 78cba13

Please sign in to comment.