kibana/x-pack/test/functional_basic/apps
Robert Oskamp 93dac5435f
[ML] Functional tests - cleanMlIndices without system index access (#199653)
## Summary

This PR updates the `cleanMlIndices` service method to no longer run
with `esDeleteAllIndices` and thus no longer requires system index
superuser privileges.

### Details / other changes

- Not all ML items can be cleaned up through APIs (e.g. notifications),
so tests have been adjusted to deal with pre-existing data
- Some cleanup steps had to be re-ordered
- Basic license tests didn't need the `cleanMlIndices` in their `before`
so it was removed there
- Observability serverless tests can't use `cleanMlIndices` as the APIs
for DFA are not available for that project type, so the cleanup is
changed to `cleanAnomalyDetection` for the AD tests and the
`cleanMlIndices` is removed from the AI assistant helpers as the
existing cleanup there should be enough
2024-11-22 17:54:01 +01:00
..
ml [ML] Functional tests - cleanMlIndices without system index access (#199653) 2024-11-22 17:54:01 +01:00
transform FIPS FTR Overrides and test skips (#192053) 2024-09-10 13:17:40 -04:00