Skip to content

Commit 59e6c93

Browse files
committed
Fix calendar selection method and typo in assertion message
1 parent 957f73a commit 59e6c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/test/functional/services/ml/job_wizard_common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ export function MachineLearningJobWizardCommonProvider(
219219

220220
async addCalendar(calendarId: string) {
221221
await this.ensureAdditionalSettingsSectionOpen();
222-
await comboBox.setCustom('mlJobWizardComboBoxCalendars > comboBoxInput', calendarId);
222+
await comboBox.set('mlJobWizardComboBoxCalendars > comboBoxInput', calendarId);
223223
const actualCalendarSelection = await this.getSelectedCalendars();
224224
expect(actualCalendarSelection).to.contain(
225225
calendarId,
226-
`Expected calendar selection to conatin '${calendarId}' (got '${actualCalendarSelection}')`
226+
`Expected calendar selection to contain '${calendarId}' (got '${actualCalendarSelection}')`
227227
);
228228
},
229229

0 commit comments

Comments
 (0)