kibana/x-pack/test/api_integration/apis/metrics_ui
Carlos Crespo 26f24c66b5
[Infra] API tests deployment agnostic (#198257)
closes [#198015](https://github.com/elastic/kibana/issues/198015)

## Summary

Migrate most of the infra APIs integration tests to the
deployment-agnostic approach.

>[!important]
> - Metrics UI related tests were note migrated because the feature is
not enabled on serverless.
> - `Host with active alerts` test was not migrated because
`es_archiver` fails to load the alerts data. This is because on
serverless, the alerts indices are created as managed data streams and
that causes the `es_archiver` to fail. We should probably try use
synthtrace.

 - [x] Tested against MKI
 - [x] Tested against stateful

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-11-05 19:39:58 +01:00
..
utils [Infra] API tests deployment agnostic (#198257) 2024-11-05 19:39:58 +01:00
config.ts [Infra] add apm synthtrace kibana service and cleanup package install (#179764) 2024-04-08 10:07:16 -04:00
index.ts [Infra] API tests deployment agnostic (#198257) 2024-11-05 19:39:58 +01:00
infra.ts [Infra] API tests deployment agnostic (#198257) 2024-11-05 19:39:58 +01:00
metric_threshold_alert.ts [Infra] API tests deployment agnostic (#198257) 2024-11-05 19:39:58 +01:00
metrics_explorer.ts [Infra] API tests deployment agnostic (#198257) 2024-11-05 19:39:58 +01:00