mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
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>
15 lines
560 B
TypeScript
15 lines
560 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import type { FtrProviderContext } from '../../ftr_provider_context';
|
|
|
|
export default function ({ loadTestFile }: FtrProviderContext) {
|
|
describe('MetricsUI Endpoints', () => {
|
|
loadTestFile(require.resolve('./metrics_explorer'));
|
|
loadTestFile(require.resolve('./metric_threshold_alert'));
|
|
});
|
|
}
|