Skip to content

Commit

Permalink
Fix ML stale element failure (#140326)
Browse files Browse the repository at this point in the history
  • Loading branch information
liza-mae authored Sep 9, 2022
1 parent 245036b commit b3e01c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/functional/services/ml/trained_models_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,15 @@ export function TrainedModelsTableProvider(
}

public async openStartDeploymentModal(modelId: string) {
await testSubjects.clickWhenNotDisabledWithoutRetry(
await testSubjects.clickWhenNotDisabled(
this.rowSelector(modelId, 'mlModelsTableRowStartDeploymentAction'),
{ timeout: 5000 }
);
await this.assertStartDeploymentModalExists(true);
}

public async clickStopDeploymentAction(modelId: string) {
await testSubjects.clickWhenNotDisabledWithoutRetry(
await testSubjects.clickWhenNotDisabled(
this.rowSelector(modelId, 'mlModelsTableRowStopDeploymentAction'),
{ timeout: 5000 }
);
Expand Down

0 comments on commit b3e01c6

Please sign in to comment.