Skip to content

Commit

Permalink
[ML] Enable function tests for imported trained models (elastic#177407)
Browse files Browse the repository at this point in the history
## Summary

Closes elastic#175443

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit 84889d0)
  • Loading branch information
darnautov committed Feb 22, 2024
1 parent 553b27a commit 79fcbb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.navigation.navigateToTrainedModels();
});

// FLAKY: https://github.com/elastic/kibana/issues/175443
describe.skip('with imported models', function () {
describe('with imported models', function () {
before(async () => {
await ml.navigation.navigateToTrainedModels();
});
Expand Down
1 change: 1 addition & 0 deletions x-pack/test/functional/services/ml/trained_models_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ export function TrainedModelsTableProvider(
await mlCommonUI.assertLastToastHeader(
`Deployment for "${modelId}" has been stopped successfully.`
);
await mlCommonUI.waitForRefreshButtonEnabled();
}

public async openStartDeploymentModal(modelId: string) {
Expand Down

0 comments on commit 79fcbb9

Please sign in to comment.