diff --git a/x-pack/legacy/plugins/ml/public/jobs/new_job_new/pages/components/summary_step/components/post_save_options/post_save_options.tsx b/x-pack/legacy/plugins/ml/public/jobs/new_job_new/pages/components/summary_step/components/post_save_options/post_save_options.tsx index 5a2c5fd42bc64..a6ef18d4931b9 100644 --- a/x-pack/legacy/plugins/ml/public/jobs/new_job_new/pages/components/summary_step/components/post_save_options/post_save_options.tsx +++ b/x-pack/legacy/plugins/ml/public/jobs/new_job_new/pages/components/summary_step/components/post_save_options/post_save_options.tsx @@ -79,7 +79,7 @@ export const PostSaveOptions: FC = ({ jobRunner }) => { datafeedState === DATAFEED_STATE.STARTING || datafeedState === DATAFEED_STATE.STARTED } onClick={startJobInRealTime} - data-test-subj="mlButtonUseFullData3" + data-test-subj="mlJobWizardButtonRunInRealTime" > = ({ jobRunner }) => { watchCreated === true } onClick={() => setWatchFlyoutVisible(true)} - data-test-subj="mlButtonUseFullData" + data-test-subj="mlJobWizardButtonCreateWatch" > (await testSubjects.exists('mlJobWizardButtonCreateJob')) === false + async () => await testSubjects.exists('mlJobWizardButtonRunInRealTime') ); }, };