[ML] Functional tests - fix calendar "apply to all jobs" service method (#83071)
This PR fixes the calendar service method assertApplyToAllJobsSwitchCheckState by adding a missing await.
This commit is contained in:
parent
f8d74e240b
commit
6f8f8ebdf9
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ export function MachineLearningSettingsCalendarProvider(
|
|||
},
|
||||
|
||||
async assertApplyToAllJobsSwitchCheckState(expectedCheckState: boolean) {
|
||||
const actualCheckState = this.getApplyToAllJobsSwitchCheckedState();
|
||||
const actualCheckState = await this.getApplyToAllJobsSwitchCheckedState();
|
||||
expect(actualCheckState).to.eql(
|
||||
expectedCheckState,
|
||||
`Apply to all jobs switch check state should be '${expectedCheckState}' (got '${actualCheckState}')`
|
||||
|
|
Loading…
Reference in a new issue