Skip to content

Commit

Permalink
fixups per cr
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed May 24, 2024
1 parent 0355263 commit dd28646
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export default function ({ getService }: FtrProviderContext) {
'Feb 7, 2016 @ 00:00:00.000',
'Feb 11, 2016 @ 23:59:54.000'
);
await ml.jobWizardCommon.advanceToValidationSection();
await ml.jobWizardCommon.goToValidationStep();
await ml.jobWizardCommon.assertValidationCallouts(['mlValidationCallout success']);
await ml.jobWizardCommon.assertCalloutText(
'mlValidationCallout success',
Expand Down
7 changes: 7 additions & 0 deletions x-pack/test/functional/services/ml/job_wizard_common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,13 @@ export function MachineLearningJobWizardCommonProvider(
});
},

async goToValidationStep() {
await retry.tryForTime(60_000, async () => {
await testSubjects.existOrFail('mlJobWizardValidationStep');
await testSubjects.click('mlJobWizardValidationStep');
});
},

async setTimeRange({ startTime, endTime }: { startTime?: string; endTime?: string }) {
const opts = {
clearWithKeyboard: true,
Expand Down

0 comments on commit dd28646

Please sign in to comment.