mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[ML] Fix assertion in the Trained Model UI tests (#195566)](https://github.com/elastic/kibana/pull/195566) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-09T12:24:31Z","message":"[ML] Fix assertion in the Trained Model UI tests (#195566)\n\n## Summary\r\n\r\nRemoves assertions for success toast messages that were deleted in\r\nhttps://github.com/elastic/kibana/pull/194614\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"a406acba31ed05588ae21eed5d380722e32fbbb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","Team:ML","v8.16.0","backport:version"],"title":"[ML] Fix assertion in the Trained Model UI tests ","number":195566,"url":"https://github.com/elastic/kibana/pull/195566","mergeCommit":{"message":"[ML] Fix assertion in the Trained Model UI tests (#195566)\n\n## Summary\r\n\r\nRemoves assertions for success toast messages that were deleted in\r\nhttps://github.com/elastic/kibana/pull/194614\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"a406acba31ed05588ae21eed5d380722e32fbbb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195566","number":195566,"mergeCommit":{"message":"[ML] Fix assertion in the Trained Model UI tests (#195566)\n\n## Summary\r\n\r\nRemoves assertions for success toast messages that were deleted in\r\nhttps://github.com/elastic/kibana/pull/194614\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"a406acba31ed05588ae21eed5d380722e32fbbb0"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
This commit is contained in:
parent
9edfe2efab
commit
3f51455be8
1 changed files with 0 additions and 7 deletions
|
@ -584,9 +584,6 @@ export function TrainedModelsTableProvider(
|
|||
|
||||
await mlCommonUI.waitForRefreshButtonEnabled();
|
||||
|
||||
await mlCommonUI.assertLastToastHeader(
|
||||
`Deployment for "${modelId}" has been started successfully.`
|
||||
);
|
||||
await this.waitForModelsToLoad();
|
||||
|
||||
await retry.tryForTime(
|
||||
|
@ -612,10 +609,6 @@ export function TrainedModelsTableProvider(
|
|||
public async stopDeployment(modelId: string) {
|
||||
await this.clickStopDeploymentAction(modelId);
|
||||
await mlCommonUI.waitForRefreshButtonEnabled();
|
||||
await mlCommonUI.assertLastToastHeader(
|
||||
`Deployment for "${modelId}" has been stopped successfully.`
|
||||
);
|
||||
await mlCommonUI.waitForRefreshButtonEnabled();
|
||||
}
|
||||
|
||||
public async openStartDeploymentModal(modelId: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue