diff --git a/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts b/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts index 66b2f00009b18..a13cf3d61128e 100644 --- a/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts +++ b/x-pack/test/functional/apps/machine_learning/anomaly_detection/saved_search_job.ts @@ -271,8 +271,7 @@ export default function({ getService }: FtrProviderContext) { }, ]; - // test failures, see #59354 - describe.skip('saved search', function() { + describe('saved search', function() { this.tags(['smoke', 'mlqa']); before(async () => { await esArchiver.load('ml/farequote'); diff --git a/x-pack/test/functional/services/machine_learning/navigation.ts b/x-pack/test/functional/services/machine_learning/navigation.ts index 06ab99b3dcb9f..b0f993eab1a2b 100644 --- a/x-pack/test/functional/services/machine_learning/navigation.ts +++ b/x-pack/test/functional/services/machine_learning/navigation.ts @@ -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', { timeout: 2000 }); + }); }, async assertTabsExist(tabTypeSubject: string, areaSubjects: string[]) {