diff --git a/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts b/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts index 1007c89cb171a..fe2fb08501450 100644 --- a/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts +++ b/x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts @@ -553,9 +553,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // change title await testSubjects.click('editIndexPatternButton'); - await testSubjects.setValue('createIndexPatternTitleInput', 'search-s', { - clearWithKeyboard: true, - typeCharByChar: true, + await PageObjects.header.waitUntilLoadingHasFinished(); + await retry.try(async () => { + await PageObjects.settings.setIndexPatternField('search-s*'); }); await testSubjects.click('saveIndexPatternButton'); await testSubjects.click('confirmModalConfirmButton');