[ML] Functional tests - stabilize saved search tests (#59652)
This PR stabilizes the saved search functional UI tests by adding a retry to navigateToApp('ml')
This commit is contained in:
parent
1b0d1f1c51
commit
8bc051ac49
|
@ -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');
|
||||
|
|
|
@ -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[]) {
|
||||
|
|
Loading…
Reference in a new issue