mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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…
Add table
Add a link
Reference in a new issue