diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c380a768cdd58..ed7d7883e01f8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1451,7 +1451,7 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/test/functional/services/slo @elastic/obs-ux-management-team /x-pack/test/functional/apps/slo @elastic/obs-ux-management-team /x-pack/test/observability_api_integration @elastic/obs-ux-management-team # Assigned per https://github.com/elastic/kibana/pull/182243 -/x-pack/test/functional/services/observability @elastic/obs-ux-management-team +/x-pack/platform/test/functional/services/observability @elastic/obs-ux-management-team /x-pack/test/api_integration/apis/slos @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group1/uptime.ts @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/observability.ts @elastic/obs-ux-management-team @@ -1477,7 +1477,7 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/platform/test/monitoring_api_integration @elastic/stack-monitoring /x-pack/platform/test/functional/page_objects/monitoring_page.ts @elastic/stack-monitoring /x-pack/test/functional/es_archives/monitoring @elastic/stack-monitoring -/x-pack/test/functional/services/monitoring @elastic/stack-monitoring +/x-pack/platform/test/functional/services/monitoring @elastic/stack-monitoring /x-pack/test/functional/apps/monitoring @elastic/stack-monitoring /x-pack/platform/test/api_integration/apis/monitoring @elastic/stack-monitoring /x-pack/platform/test/api_integration/apis/monitoring_collection @elastic/stack-monitoring @@ -1594,7 +1594,7 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /src/platform/test/api_integration/apis/dashboards @elastic/kibana-presentation /src/platform/test/interpreter_functional/snapshots @elastic/kibana-presentation # Assigned per https://github.com/elastic/kibana/pull/54342 /src/platform/test/functional/services/inspector.ts @elastic/kibana-presentation -/x-pack/test/functional/services/canvas_element.ts @elastic/kibana-presentation +/x-pack/platform/test/functional/services/canvas_element.ts @elastic/kibana-presentation /x-pack/platform/test/functional/page_objects/canvas_page.ts @elastic/kibana-presentation /x-pack/test/accessibility/apps/group3/canvas.ts @elastic/kibana-presentation /x-pack/test/upgrade/apps/canvas @elastic/kibana-presentation @@ -1644,7 +1644,7 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/platform/test/api_integration/apis/ml/ @elastic/ml-ui /x-pack/test/functional/apps/ml/ @elastic/ml-ui /x-pack/test/functional/es_archives/ml/ @elastic/ml-ui -/x-pack/test/functional/services/ml/ @elastic/ml-ui +/x-pack/platform/test/functional/services/ml/ @elastic/ml-ui /x-pack/test/functional_basic/apps/ml/ @elastic/ml-ui /x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts @elastic/ml-ui /x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/ @elastic/ml-ui @@ -1671,8 +1671,8 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /x-pack/test/functional/apps/aiops @elastic/ml-ui /x-pack/test/functional/apps/transform/ @elastic/ml-ui @elastic/kibana-management /x-pack/test/functional/es_archives/large_arrays @elastic/ml-ui # Assigned per usages -/x-pack/test/functional/services/transform/ @elastic/ml-ui @elastic/kibana-management -/x-pack/test/functional/services/aiops @elastic/ml-ui +/x-pack/platform/test/functional/services/transform/ @elastic/ml-ui @elastic/kibana-management +/x-pack/platform/test/functional/services/aiops @elastic/ml-ui /x-pack/test/functional_basic/apps/transform/ @elastic/ml-ui @elastic/kibana-management # Operations @@ -1745,7 +1745,7 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /src/platform/test/server_integration/services/index.js @elastic/appex-qa /x-pack/test/stack_functional_integration/configs/config.stack_functional_integration_base.js @elastic/appex-qa /x-pack/test/stack_functional_integration/configs/consume_state.js @elastic/appex-qa -/x-pack/test/functional/services/remote_es/remote_es_archiver.ts @elastic/appex-qa +/x-pack/platform/test/functional/services/remote_es/remote_es_archiver.ts @elastic/appex-qa /src/platform/test/functional/services/remote_es/remote_es_archiver.ts @elastic/appex-qa /x-pack/test/kibana.jsonc @elastic/appex-qa /x-pack/test/functional_with_es_ssl/ftr_provider_context.d.ts @elastic/appex-qa @@ -1757,7 +1757,7 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /x-pack/test/upgrade/ftr_provider_context.d.ts @elastic/appex-qa /x-pack/test/upgrade/config.ts @elastic/appex-qa /x-pack/test/functional_basic/ftr_provider_context.d.ts @elastic/appex-qa -/x-pack/test/functional/services/remote_es/remote_es.ts @elastic/appex-qa +/x-pack/platform/test/functional/services/remote_es/remote_es.ts @elastic/appex-qa /x-pack/test/functional/services/random.js @elastic/appex-qa /x-pack/test/functional/services/index.ts @elastic/appex-qa /x-pack/platform/test/functional/services/index.ts @elastic/appex-qa @@ -2125,13 +2125,13 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /x-pack/test/functional_with_es_ssl/page_objects/rule_details.ts @elastic/response-ops /x-pack/test/functional_with_es_ssl/lib/object_remover.ts @elastic/response-ops /x-pack/test/stack_functional_integration/apps/alerts @elastic/response-ops -/x-pack/test/functional/services/actions @elastic/response-ops +/x-pack/platform/test/functional/services/actions @elastic/response-ops /x-pack/solutions/security/test/api_integration_basic/apis/security_solution/index.ts @elastic/response-ops @elastic/kibana-cases /x-pack/solutions/security/test/api_integration_basic/apis/security_solution/cases_privileges.ts @elastic/response-ops @elastic/kibana-cases /x-pack/test/upgrade/services/rules_upgrade_services.ts @elastic/response-ops /x-pack/test/upgrade/apps/rules @elastic/response-ops /x-pack/platform/test/examples/triggers_actions_ui_examples @elastic/response-ops # Assigned per https://github.com/elastic/kibana/blob/main/x-pack/examples/triggers_actions_ui_example/kibana.jsonc#L4 -/x-pack/test/functional/services/rules @elastic/response-ops +/x-pack/platform/test/functional/services/rules @elastic/response-ops /x-pack/platform/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops /x-pack/test/functional/fixtures/kbn_archiver/cases @elastic/response-ops @elastic/kibana-cases /x-pack/test/functional/es_archives/cases @elastic/response-ops @elastic/kibana-cases @@ -2153,7 +2153,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /docs/management/connectors/ @elastic/response-ops /x-pack/platform/test/cases_api_integration/ @elastic/response-ops /x-pack/solutions/security/test/cases_api_integration/ @elastic/response-ops -/x-pack/test/functional/services/cases/ @elastic/response-ops @elastic/kibana-cases +/x-pack/platform/test/functional/services/cases/ @elastic/response-ops @elastic/kibana-cases /x-pack/test/functional_with_es_ssl/apps/cases/ @elastic/response-ops @elastic/kibana-cases /x-pack/test/api_integration/apis/cases/ @elastic/response-ops @elastic/kibana-cases /x-pack/test_serverless/functional/test_suites/observability/cases @elastic/response-ops @elastic/kibana-cases diff --git a/x-pack/test/functional/services/actions/api.ts b/x-pack/platform/test/functional/services/actions/api.ts similarity index 100% rename from x-pack/test/functional/services/actions/api.ts rename to x-pack/platform/test/functional/services/actions/api.ts diff --git a/x-pack/test/functional/services/actions/common.ts b/x-pack/platform/test/functional/services/actions/common.ts similarity index 100% rename from x-pack/test/functional/services/actions/common.ts rename to x-pack/platform/test/functional/services/actions/common.ts diff --git a/x-pack/test/functional/services/actions/index.ts b/x-pack/platform/test/functional/services/actions/index.ts similarity index 100% rename from x-pack/test/functional/services/actions/index.ts rename to x-pack/platform/test/functional/services/actions/index.ts diff --git a/x-pack/test/functional/services/actions/opsgenie.ts b/x-pack/platform/test/functional/services/actions/opsgenie.ts similarity index 100% rename from x-pack/test/functional/services/actions/opsgenie.ts rename to x-pack/platform/test/functional/services/actions/opsgenie.ts diff --git a/x-pack/test/functional/services/actions/slack.ts b/x-pack/platform/test/functional/services/actions/slack.ts similarity index 100% rename from x-pack/test/functional/services/actions/slack.ts rename to x-pack/platform/test/functional/services/actions/slack.ts diff --git a/x-pack/test/functional/services/actions/tines.ts b/x-pack/platform/test/functional/services/actions/tines.ts similarity index 100% rename from x-pack/test/functional/services/actions/tines.ts rename to x-pack/platform/test/functional/services/actions/tines.ts diff --git a/x-pack/test/functional/services/aiops/change_point_detection_page.ts b/x-pack/platform/test/functional/services/aiops/change_point_detection_page.ts similarity index 100% rename from x-pack/test/functional/services/aiops/change_point_detection_page.ts rename to x-pack/platform/test/functional/services/aiops/change_point_detection_page.ts diff --git a/x-pack/test/functional/services/aiops/dashboard_embeddables.ts b/x-pack/platform/test/functional/services/aiops/dashboard_embeddables.ts similarity index 100% rename from x-pack/test/functional/services/aiops/dashboard_embeddables.ts rename to x-pack/platform/test/functional/services/aiops/dashboard_embeddables.ts diff --git a/x-pack/test/functional/services/aiops/index.ts b/x-pack/platform/test/functional/services/aiops/index.ts similarity index 100% rename from x-pack/test/functional/services/aiops/index.ts rename to x-pack/platform/test/functional/services/aiops/index.ts diff --git a/x-pack/test/functional/services/aiops/log_pattern_analysis_page.ts b/x-pack/platform/test/functional/services/aiops/log_pattern_analysis_page.ts similarity index 100% rename from x-pack/test/functional/services/aiops/log_pattern_analysis_page.ts rename to x-pack/platform/test/functional/services/aiops/log_pattern_analysis_page.ts diff --git a/x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts b/x-pack/platform/test/functional/services/aiops/log_rate_analysis_data_generator.ts similarity index 100% rename from x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts rename to x-pack/platform/test/functional/services/aiops/log_rate_analysis_data_generator.ts diff --git a/x-pack/test/functional/services/aiops/log_rate_analysis_page.ts b/x-pack/platform/test/functional/services/aiops/log_rate_analysis_page.ts similarity index 100% rename from x-pack/test/functional/services/aiops/log_rate_analysis_page.ts rename to x-pack/platform/test/functional/services/aiops/log_rate_analysis_page.ts diff --git a/x-pack/test/functional/services/aiops/log_rate_analysis_results_groups_table.ts b/x-pack/platform/test/functional/services/aiops/log_rate_analysis_results_groups_table.ts similarity index 100% rename from x-pack/test/functional/services/aiops/log_rate_analysis_results_groups_table.ts rename to x-pack/platform/test/functional/services/aiops/log_rate_analysis_results_groups_table.ts diff --git a/x-pack/test/functional/services/aiops/log_rate_analysis_results_table.ts b/x-pack/platform/test/functional/services/aiops/log_rate_analysis_results_table.ts similarity index 100% rename from x-pack/test/functional/services/aiops/log_rate_analysis_results_table.ts rename to x-pack/platform/test/functional/services/aiops/log_rate_analysis_results_table.ts diff --git a/x-pack/test/functional/services/canvas_element.ts b/x-pack/platform/test/functional/services/canvas_element.ts similarity index 100% rename from x-pack/test/functional/services/canvas_element.ts rename to x-pack/platform/test/functional/services/canvas_element.ts diff --git a/x-pack/test/functional/services/cases/api.ts b/x-pack/platform/test/functional/services/cases/api.ts similarity index 94% rename from x-pack/test/functional/services/cases/api.ts rename to x-pack/platform/test/functional/services/cases/api.ts index 31a22a277a465..7a1d4f52108d1 100644 --- a/x-pack/test/functional/services/cases/api.ts +++ b/x-pack/platform/test/functional/services/cases/api.ts @@ -21,12 +21,12 @@ import { getCase, createConfiguration, getConfigurationRequest, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/api'; +} from '../../../cases_api_integration/common/lib/api'; import { loginUsers, suggestUserProfiles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/api/user_profiles'; -import { User } from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication/types'; +} from '../../../cases_api_integration/common/lib/api/user_profiles'; +import { User } from '../../../cases_api_integration/common/lib/authentication/types'; import { FtrProviderContext } from '../../ftr_provider_context'; import { generateRandomCaseWithoutConnector } from './helpers'; diff --git a/x-pack/test/functional/services/cases/common.ts b/x-pack/platform/test/functional/services/cases/common.ts similarity index 100% rename from x-pack/test/functional/services/cases/common.ts rename to x-pack/platform/test/functional/services/cases/common.ts diff --git a/x-pack/test/functional/services/cases/create.ts b/x-pack/platform/test/functional/services/cases/create.ts similarity index 100% rename from x-pack/test/functional/services/cases/create.ts rename to x-pack/platform/test/functional/services/cases/create.ts diff --git a/x-pack/test/functional/services/cases/files.ts b/x-pack/platform/test/functional/services/cases/files.ts similarity index 100% rename from x-pack/test/functional/services/cases/files.ts rename to x-pack/platform/test/functional/services/cases/files.ts diff --git a/x-pack/test/functional/services/cases/helpers.ts b/x-pack/platform/test/functional/services/cases/helpers.ts similarity index 100% rename from x-pack/test/functional/services/cases/helpers.ts rename to x-pack/platform/test/functional/services/cases/helpers.ts diff --git a/x-pack/test/functional/services/cases/index.ts b/x-pack/platform/test/functional/services/cases/index.ts similarity index 100% rename from x-pack/test/functional/services/cases/index.ts rename to x-pack/platform/test/functional/services/cases/index.ts diff --git a/x-pack/test/functional/services/cases/list.ts b/x-pack/platform/test/functional/services/cases/list.ts similarity index 100% rename from x-pack/test/functional/services/cases/list.ts rename to x-pack/platform/test/functional/services/cases/list.ts diff --git a/x-pack/test/functional/services/cases/navigation.ts b/x-pack/platform/test/functional/services/cases/navigation.ts similarity index 100% rename from x-pack/test/functional/services/cases/navigation.ts rename to x-pack/platform/test/functional/services/cases/navigation.ts diff --git a/x-pack/test/functional/services/cases/single_case_view.ts b/x-pack/platform/test/functional/services/cases/single_case_view.ts similarity index 100% rename from x-pack/test/functional/services/cases/single_case_view.ts rename to x-pack/platform/test/functional/services/cases/single_case_view.ts diff --git a/x-pack/test/functional/services/cases/test_resources.ts b/x-pack/platform/test/functional/services/cases/test_resources.ts similarity index 100% rename from x-pack/test/functional/services/cases/test_resources.ts rename to x-pack/platform/test/functional/services/cases/test_resources.ts diff --git a/x-pack/platform/test/functional/services/index.ts b/x-pack/platform/test/functional/services/index.ts index 78e5874ae0078..dbbbcbb7aa0cf 100644 --- a/x-pack/platform/test/functional/services/index.ts +++ b/x-pack/platform/test/functional/services/index.ts @@ -7,12 +7,51 @@ import { services as kibanaFunctionalServices } from '@kbn/test-suites-src/functional/services'; import { services as kibanaApiIntegrationServices } from '@kbn/test-suites-src/api_integration/services'; +import { + MonitoringNoDataProvider, + MonitoringClusterListProvider, + MonitoringClusterOverviewProvider, + MonitoringClusterAlertsProvider, + MonitoringElasticsearchSummaryStatusProvider, + MonitoringElasticsearchOverviewProvider, + MonitoringElasticsearchNodesProvider, + MonitoringElasticsearchNodeDetailProvider, + MonitoringElasticsearchIndicesProvider, + MonitoringElasticsearchIndexDetailProvider, + MonitoringElasticsearchShardsProvider, + MonitoringBeatsOverviewProvider, + MonitoringBeatsListingProvider, + MonitoringBeatDetailProvider, + MonitoringBeatsSummaryStatusProvider, + MonitoringLogstashOverviewProvider, + MonitoringLogstashNodesProvider, + MonitoringLogstashNodeDetailProvider, + MonitoringLogstashPipelinesProvider, + MonitoringLogstashPipelineViewerProvider, + MonitoringLogstashSummaryStatusProvider, + MonitoringKibanaOverviewProvider, + MonitoringKibanaInstancesProvider, + MonitoringKibanaInstanceProvider, + MonitoringKibanaSummaryStatusProvider, + MonitoringSetupModeProvider, + MonitoringAlertsProvider, + MonitoringEnterpriseSearchOverviewProvider, + MonitoringEnterpriseSearchSummaryStatusProvider, + // @ts-ignore not ts yet +} from './monitoring'; import { services as kibanaXPackApiIntegrationServices } from '../../api_integration/services'; import { UserMenuProvider } from './user_menu'; import { AceEditorProvider } from './ace_editor'; import { SampleDataServiceProvider } from './sample_data'; import { GrokDebuggerProvider } from './grok_debugger'; +import { MachineLearningProvider } from './ml'; +import { TransformProvider } from './transform'; +import { CasesServiceProvider } from './cases'; +import { ActionsServiceProvider } from './actions'; +import { RulesServiceProvider } from './rules'; +import { AiopsProvider } from './aiops'; import { SearchSessionsService } from './search_sessions'; +import { CanvasElementProvider } from './canvas_element'; // define the name and providers for services that should be // available to your tests. If you don't specify anything here @@ -24,9 +63,45 @@ export const services = { esSupertest: kibanaApiIntegrationServices.esSupertest, dataViewApi: kibanaXPackApiIntegrationServices.dataViewApi, spaces: kibanaXPackApiIntegrationServices.spaces, + monitoringNoData: MonitoringNoDataProvider, + monitoringClusterList: MonitoringClusterListProvider, + monitoringClusterOverview: MonitoringClusterOverviewProvider, + monitoringClusterAlerts: MonitoringClusterAlertsProvider, + monitoringElasticsearchSummaryStatus: MonitoringElasticsearchSummaryStatusProvider, + monitoringElasticsearchOverview: MonitoringElasticsearchOverviewProvider, + monitoringElasticsearchNodes: MonitoringElasticsearchNodesProvider, + monitoringElasticsearchNodeDetail: MonitoringElasticsearchNodeDetailProvider, + monitoringElasticsearchIndices: MonitoringElasticsearchIndicesProvider, + monitoringElasticsearchIndexDetail: MonitoringElasticsearchIndexDetailProvider, + monitoringElasticsearchShards: MonitoringElasticsearchShardsProvider, + monitoringBeatsOverview: MonitoringBeatsOverviewProvider, + monitoringBeatsListing: MonitoringBeatsListingProvider, + monitoringBeatDetail: MonitoringBeatDetailProvider, + monitoringBeatsSummaryStatus: MonitoringBeatsSummaryStatusProvider, + monitoringLogstashOverview: MonitoringLogstashOverviewProvider, + monitoringLogstashNodes: MonitoringLogstashNodesProvider, + monitoringLogstashNodeDetail: MonitoringLogstashNodeDetailProvider, + monitoringLogstashPipelines: MonitoringLogstashPipelinesProvider, + monitoringLogstashPipelineViewer: MonitoringLogstashPipelineViewerProvider, + monitoringLogstashSummaryStatus: MonitoringLogstashSummaryStatusProvider, + monitoringKibanaOverview: MonitoringKibanaOverviewProvider, + monitoringKibanaInstances: MonitoringKibanaInstancesProvider, + monitoringKibanaInstance: MonitoringKibanaInstanceProvider, + monitoringKibanaSummaryStatus: MonitoringKibanaSummaryStatusProvider, + monitoringEnterpriseSearchOverview: MonitoringEnterpriseSearchOverviewProvider, + monitoringEnterpriseSearchSummaryStatus: MonitoringEnterpriseSearchSummaryStatusProvider, + monitoringSetupMode: MonitoringSetupModeProvider, + monitoringAlerts: MonitoringAlertsProvider, userMenu: UserMenuProvider, aceEditor: AceEditorProvider, sampleData: SampleDataServiceProvider, grokDebugger: GrokDebuggerProvider, - searchSessions: SearchSessionsService, + ml: MachineLearningProvider, + transform: TransformProvider, + serchSessions: SearchSessionsService, + cases: CasesServiceProvider, + actions: ActionsServiceProvider, + rules: RulesServiceProvider, + aiops: AiopsProvider, + canvasElement: CanvasElementProvider, }; diff --git a/x-pack/test/functional/services/ml/add_trained_models_flyout.ts b/x-pack/platform/test/functional/services/ml/add_trained_models_flyout.ts similarity index 100% rename from x-pack/test/functional/services/ml/add_trained_models_flyout.ts rename to x-pack/platform/test/functional/services/ml/add_trained_models_flyout.ts diff --git a/x-pack/test/functional/services/ml/alerting.ts b/x-pack/platform/test/functional/services/ml/alerting.ts similarity index 100% rename from x-pack/test/functional/services/ml/alerting.ts rename to x-pack/platform/test/functional/services/ml/alerting.ts diff --git a/x-pack/test/functional/services/ml/anomalies_table.ts b/x-pack/platform/test/functional/services/ml/anomalies_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/anomalies_table.ts rename to x-pack/platform/test/functional/services/ml/anomalies_table.ts diff --git a/x-pack/test/functional/services/ml/anomaly_charts.ts b/x-pack/platform/test/functional/services/ml/anomaly_charts.ts similarity index 100% rename from x-pack/test/functional/services/ml/anomaly_charts.ts rename to x-pack/platform/test/functional/services/ml/anomaly_charts.ts diff --git a/x-pack/test/functional/services/ml/anomaly_explorer.ts b/x-pack/platform/test/functional/services/ml/anomaly_explorer.ts similarity index 100% rename from x-pack/test/functional/services/ml/anomaly_explorer.ts rename to x-pack/platform/test/functional/services/ml/anomaly_explorer.ts diff --git a/x-pack/test/functional/services/ml/api.ts b/x-pack/platform/test/functional/services/ml/api.ts similarity index 100% rename from x-pack/test/functional/services/ml/api.ts rename to x-pack/platform/test/functional/services/ml/api.ts diff --git a/x-pack/test/functional/services/ml/cases.ts b/x-pack/platform/test/functional/services/ml/cases.ts similarity index 100% rename from x-pack/test/functional/services/ml/cases.ts rename to x-pack/platform/test/functional/services/ml/cases.ts diff --git a/x-pack/test/functional/services/ml/common_api.ts b/x-pack/platform/test/functional/services/ml/common_api.ts similarity index 100% rename from x-pack/test/functional/services/ml/common_api.ts rename to x-pack/platform/test/functional/services/ml/common_api.ts diff --git a/x-pack/test/functional/services/ml/common_config.ts b/x-pack/platform/test/functional/services/ml/common_config.ts similarity index 100% rename from x-pack/test/functional/services/ml/common_config.ts rename to x-pack/platform/test/functional/services/ml/common_config.ts diff --git a/x-pack/test/functional/services/ml/common_data_grid.ts b/x-pack/platform/test/functional/services/ml/common_data_grid.ts similarity index 100% rename from x-pack/test/functional/services/ml/common_data_grid.ts rename to x-pack/platform/test/functional/services/ml/common_data_grid.ts diff --git a/x-pack/test/functional/services/ml/common_table_service.ts b/x-pack/platform/test/functional/services/ml/common_table_service.ts similarity index 100% rename from x-pack/test/functional/services/ml/common_table_service.ts rename to x-pack/platform/test/functional/services/ml/common_table_service.ts diff --git a/x-pack/test/functional/services/ml/common_ui.ts b/x-pack/platform/test/functional/services/ml/common_ui.ts similarity index 100% rename from x-pack/test/functional/services/ml/common_ui.ts rename to x-pack/platform/test/functional/services/ml/common_ui.ts diff --git a/x-pack/test/functional/services/ml/custom_urls.ts b/x-pack/platform/test/functional/services/ml/custom_urls.ts similarity index 100% rename from x-pack/test/functional/services/ml/custom_urls.ts rename to x-pack/platform/test/functional/services/ml/custom_urls.ts diff --git a/x-pack/test/functional/services/ml/dashboard_embeddables.ts b/x-pack/platform/test/functional/services/ml/dashboard_embeddables.ts similarity index 100% rename from x-pack/test/functional/services/ml/dashboard_embeddables.ts rename to x-pack/platform/test/functional/services/ml/dashboard_embeddables.ts diff --git a/x-pack/test/functional/services/ml/dashboard_job_selection_table.ts b/x-pack/platform/test/functional/services/ml/dashboard_job_selection_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/dashboard_job_selection_table.ts rename to x-pack/platform/test/functional/services/ml/dashboard_job_selection_table.ts diff --git a/x-pack/test/functional/services/ml/data_drift.ts b/x-pack/platform/test/functional/services/ml/data_drift.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_drift.ts rename to x-pack/platform/test/functional/services/ml/data_drift.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics_creation.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics_creation.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics_creation.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics_creation.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics_edit.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics_edit.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics_edit.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics_edit.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics_map.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics_map.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics_map.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics_map.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics_results.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics_results.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics_results.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics_results.ts diff --git a/x-pack/test/functional/services/ml/data_frame_analytics_table.ts b/x-pack/platform/test/functional/services/ml/data_frame_analytics_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_frame_analytics_table.ts rename to x-pack/platform/test/functional/services/ml/data_frame_analytics_table.ts diff --git a/x-pack/test/functional/services/ml/data_visualizer.ts b/x-pack/platform/test/functional/services/ml/data_visualizer.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_visualizer.ts rename to x-pack/platform/test/functional/services/ml/data_visualizer.ts diff --git a/x-pack/test/functional/services/ml/data_visualizer_file_based.ts b/x-pack/platform/test/functional/services/ml/data_visualizer_file_based.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_visualizer_file_based.ts rename to x-pack/platform/test/functional/services/ml/data_visualizer_file_based.ts diff --git a/x-pack/test/functional/services/ml/data_visualizer_index_based.ts b/x-pack/platform/test/functional/services/ml/data_visualizer_index_based.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_visualizer_index_based.ts rename to x-pack/platform/test/functional/services/ml/data_visualizer_index_based.ts diff --git a/x-pack/test/functional/services/ml/data_visualizer_index_pattern_management.ts b/x-pack/platform/test/functional/services/ml/data_visualizer_index_pattern_management.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_visualizer_index_pattern_management.ts rename to x-pack/platform/test/functional/services/ml/data_visualizer_index_pattern_management.ts diff --git a/x-pack/test/functional/services/ml/data_visualizer_table.ts b/x-pack/platform/test/functional/services/ml/data_visualizer_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/data_visualizer_table.ts rename to x-pack/platform/test/functional/services/ml/data_visualizer_table.ts diff --git a/x-pack/test/functional/services/ml/deploy_models_flyout.ts b/x-pack/platform/test/functional/services/ml/deploy_models_flyout.ts similarity index 100% rename from x-pack/test/functional/services/ml/deploy_models_flyout.ts rename to x-pack/platform/test/functional/services/ml/deploy_models_flyout.ts diff --git a/x-pack/test/functional/services/ml/field_stats_flyout.ts b/x-pack/platform/test/functional/services/ml/field_stats_flyout.ts similarity index 100% rename from x-pack/test/functional/services/ml/field_stats_flyout.ts rename to x-pack/platform/test/functional/services/ml/field_stats_flyout.ts diff --git a/x-pack/test/functional/services/ml/forecast.ts b/x-pack/platform/test/functional/services/ml/forecast.ts similarity index 100% rename from x-pack/test/functional/services/ml/forecast.ts rename to x-pack/platform/test/functional/services/ml/forecast.ts diff --git a/x-pack/test/functional/services/ml/index.ts b/x-pack/platform/test/functional/services/ml/index.ts similarity index 100% rename from x-pack/test/functional/services/ml/index.ts rename to x-pack/platform/test/functional/services/ml/index.ts diff --git a/x-pack/test/functional/services/ml/job_annotations_table.ts b/x-pack/platform/test/functional/services/ml/job_annotations_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_annotations_table.ts rename to x-pack/platform/test/functional/services/ml/job_annotations_table.ts diff --git a/x-pack/test/functional/services/ml/job_expanded_details.ts b/x-pack/platform/test/functional/services/ml/job_expanded_details.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_expanded_details.ts rename to x-pack/platform/test/functional/services/ml/job_expanded_details.ts diff --git a/x-pack/test/functional/services/ml/job_management.ts b/x-pack/platform/test/functional/services/ml/job_management.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_management.ts rename to x-pack/platform/test/functional/services/ml/job_management.ts diff --git a/x-pack/test/functional/services/ml/job_selection.ts b/x-pack/platform/test/functional/services/ml/job_selection.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_selection.ts rename to x-pack/platform/test/functional/services/ml/job_selection.ts diff --git a/x-pack/test/functional/services/ml/job_source_selection.ts b/x-pack/platform/test/functional/services/ml/job_source_selection.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_source_selection.ts rename to x-pack/platform/test/functional/services/ml/job_source_selection.ts diff --git a/x-pack/test/functional/services/ml/job_table.ts b/x-pack/platform/test/functional/services/ml/job_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_table.ts rename to x-pack/platform/test/functional/services/ml/job_table.ts diff --git a/x-pack/test/functional/services/ml/job_type_selection.ts b/x-pack/platform/test/functional/services/ml/job_type_selection.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_type_selection.ts rename to x-pack/platform/test/functional/services/ml/job_type_selection.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_advanced.ts b/x-pack/platform/test/functional/services/ml/job_wizard_advanced.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_advanced.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_advanced.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_categorization.ts b/x-pack/platform/test/functional/services/ml/job_wizard_categorization.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_categorization.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_categorization.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_common.ts b/x-pack/platform/test/functional/services/ml/job_wizard_common.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_common.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_common.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_geo.ts b/x-pack/platform/test/functional/services/ml/job_wizard_geo.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_geo.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_geo.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_multi_metric.ts b/x-pack/platform/test/functional/services/ml/job_wizard_multi_metric.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_multi_metric.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_multi_metric.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_population.ts b/x-pack/platform/test/functional/services/ml/job_wizard_population.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_population.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_population.ts diff --git a/x-pack/test/functional/services/ml/job_wizard_recognizer.ts b/x-pack/platform/test/functional/services/ml/job_wizard_recognizer.ts similarity index 100% rename from x-pack/test/functional/services/ml/job_wizard_recognizer.ts rename to x-pack/platform/test/functional/services/ml/job_wizard_recognizer.ts diff --git a/x-pack/test/functional/services/ml/lens_visualizations.ts b/x-pack/platform/test/functional/services/ml/lens_visualizations.ts similarity index 100% rename from x-pack/test/functional/services/ml/lens_visualizations.ts rename to x-pack/platform/test/functional/services/ml/lens_visualizations.ts diff --git a/x-pack/test/functional/services/ml/memory_usage.ts b/x-pack/platform/test/functional/services/ml/memory_usage.ts similarity index 100% rename from x-pack/test/functional/services/ml/memory_usage.ts rename to x-pack/platform/test/functional/services/ml/memory_usage.ts diff --git a/x-pack/test/functional/services/ml/ml_nodes_list.ts b/x-pack/platform/test/functional/services/ml/ml_nodes_list.ts similarity index 100% rename from x-pack/test/functional/services/ml/ml_nodes_list.ts rename to x-pack/platform/test/functional/services/ml/ml_nodes_list.ts diff --git a/x-pack/test/functional/services/ml/navigation.ts b/x-pack/platform/test/functional/services/ml/navigation.ts similarity index 100% rename from x-pack/test/functional/services/ml/navigation.ts rename to x-pack/platform/test/functional/services/ml/navigation.ts diff --git a/x-pack/test/functional/services/ml/notifications.ts b/x-pack/platform/test/functional/services/ml/notifications.ts similarity index 100% rename from x-pack/test/functional/services/ml/notifications.ts rename to x-pack/platform/test/functional/services/ml/notifications.ts diff --git a/x-pack/test/functional/services/ml/overview_page.ts b/x-pack/platform/test/functional/services/ml/overview_page.ts similarity index 100% rename from x-pack/test/functional/services/ml/overview_page.ts rename to x-pack/platform/test/functional/services/ml/overview_page.ts diff --git a/x-pack/test/functional/services/ml/security_common.ts b/x-pack/platform/test/functional/services/ml/security_common.ts similarity index 100% rename from x-pack/test/functional/services/ml/security_common.ts rename to x-pack/platform/test/functional/services/ml/security_common.ts diff --git a/x-pack/test/functional/services/ml/security_ui.ts b/x-pack/platform/test/functional/services/ml/security_ui.ts similarity index 100% rename from x-pack/test/functional/services/ml/security_ui.ts rename to x-pack/platform/test/functional/services/ml/security_ui.ts diff --git a/x-pack/test/functional/services/ml/settings.ts b/x-pack/platform/test/functional/services/ml/settings.ts similarity index 100% rename from x-pack/test/functional/services/ml/settings.ts rename to x-pack/platform/test/functional/services/ml/settings.ts diff --git a/x-pack/test/functional/services/ml/settings_calendar.ts b/x-pack/platform/test/functional/services/ml/settings_calendar.ts similarity index 100% rename from x-pack/test/functional/services/ml/settings_calendar.ts rename to x-pack/platform/test/functional/services/ml/settings_calendar.ts diff --git a/x-pack/test/functional/services/ml/settings_filter_list.ts b/x-pack/platform/test/functional/services/ml/settings_filter_list.ts similarity index 100% rename from x-pack/test/functional/services/ml/settings_filter_list.ts rename to x-pack/platform/test/functional/services/ml/settings_filter_list.ts diff --git a/x-pack/test/functional/services/ml/single_metric_viewer.ts b/x-pack/platform/test/functional/services/ml/single_metric_viewer.ts similarity index 100% rename from x-pack/test/functional/services/ml/single_metric_viewer.ts rename to x-pack/platform/test/functional/services/ml/single_metric_viewer.ts diff --git a/x-pack/test/functional/services/ml/stack_management_jobs.ts b/x-pack/platform/test/functional/services/ml/stack_management_jobs.ts similarity index 100% rename from x-pack/test/functional/services/ml/stack_management_jobs.ts rename to x-pack/platform/test/functional/services/ml/stack_management_jobs.ts diff --git a/x-pack/test/functional/services/ml/supplied_configurations.ts b/x-pack/platform/test/functional/services/ml/supplied_configurations.ts similarity index 100% rename from x-pack/test/functional/services/ml/supplied_configurations.ts rename to x-pack/platform/test/functional/services/ml/supplied_configurations.ts diff --git a/x-pack/test/functional/services/ml/swim_lane.ts b/x-pack/platform/test/functional/services/ml/swim_lane.ts similarity index 100% rename from x-pack/test/functional/services/ml/swim_lane.ts rename to x-pack/platform/test/functional/services/ml/swim_lane.ts diff --git a/x-pack/test/functional/services/ml/test_execution.ts b/x-pack/platform/test/functional/services/ml/test_execution.ts similarity index 100% rename from x-pack/test/functional/services/ml/test_execution.ts rename to x-pack/platform/test/functional/services/ml/test_execution.ts diff --git a/x-pack/test/functional/services/ml/test_resources.ts b/x-pack/platform/test/functional/services/ml/test_resources.ts similarity index 100% rename from x-pack/test/functional/services/ml/test_resources.ts rename to x-pack/platform/test/functional/services/ml/test_resources.ts diff --git a/x-pack/test/functional/services/ml/test_resources_data.ts b/x-pack/platform/test/functional/services/ml/test_resources_data.ts similarity index 100% rename from x-pack/test/functional/services/ml/test_resources_data.ts rename to x-pack/platform/test/functional/services/ml/test_resources_data.ts diff --git a/x-pack/test/functional/services/ml/trained_models.ts b/x-pack/platform/test/functional/services/ml/trained_models.ts similarity index 100% rename from x-pack/test/functional/services/ml/trained_models.ts rename to x-pack/platform/test/functional/services/ml/trained_models.ts diff --git a/x-pack/test/functional/services/ml/trained_models_table.ts b/x-pack/platform/test/functional/services/ml/trained_models_table.ts similarity index 100% rename from x-pack/test/functional/services/ml/trained_models_table.ts rename to x-pack/platform/test/functional/services/ml/trained_models_table.ts diff --git a/x-pack/test/functional/services/monitoring/alerts.js b/x-pack/platform/test/functional/services/monitoring/alerts.js similarity index 100% rename from x-pack/test/functional/services/monitoring/alerts.js rename to x-pack/platform/test/functional/services/monitoring/alerts.js diff --git a/x-pack/test/functional/services/monitoring/beat_detail.js b/x-pack/platform/test/functional/services/monitoring/beat_detail.js similarity index 100% rename from x-pack/test/functional/services/monitoring/beat_detail.js rename to x-pack/platform/test/functional/services/monitoring/beat_detail.js diff --git a/x-pack/test/functional/services/monitoring/beats_listing.js b/x-pack/platform/test/functional/services/monitoring/beats_listing.js similarity index 100% rename from x-pack/test/functional/services/monitoring/beats_listing.js rename to x-pack/platform/test/functional/services/monitoring/beats_listing.js diff --git a/x-pack/test/functional/services/monitoring/beats_overview.js b/x-pack/platform/test/functional/services/monitoring/beats_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/beats_overview.js rename to x-pack/platform/test/functional/services/monitoring/beats_overview.js diff --git a/x-pack/test/functional/services/monitoring/beats_summary_status.js b/x-pack/platform/test/functional/services/monitoring/beats_summary_status.js similarity index 100% rename from x-pack/test/functional/services/monitoring/beats_summary_status.js rename to x-pack/platform/test/functional/services/monitoring/beats_summary_status.js diff --git a/x-pack/test/functional/services/monitoring/cluster_alerts.js b/x-pack/platform/test/functional/services/monitoring/cluster_alerts.js similarity index 100% rename from x-pack/test/functional/services/monitoring/cluster_alerts.js rename to x-pack/platform/test/functional/services/monitoring/cluster_alerts.js diff --git a/x-pack/test/functional/services/monitoring/cluster_list.js b/x-pack/platform/test/functional/services/monitoring/cluster_list.js similarity index 100% rename from x-pack/test/functional/services/monitoring/cluster_list.js rename to x-pack/platform/test/functional/services/monitoring/cluster_list.js diff --git a/x-pack/test/functional/services/monitoring/cluster_overview.js b/x-pack/platform/test/functional/services/monitoring/cluster_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/cluster_overview.js rename to x-pack/platform/test/functional/services/monitoring/cluster_overview.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_index_detail.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_index_detail.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_index_detail.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_index_detail.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_indices.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_indices.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_indices.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_indices.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_node_detail.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_node_detail.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_node_detail.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_node_detail.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_nodes.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_nodes.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_nodes.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_nodes.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_overview.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_overview.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_overview.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_shards.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_shards.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_shards.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_shards.js diff --git a/x-pack/test/functional/services/monitoring/elasticsearch_summary_status.js b/x-pack/platform/test/functional/services/monitoring/elasticsearch_summary_status.js similarity index 100% rename from x-pack/test/functional/services/monitoring/elasticsearch_summary_status.js rename to x-pack/platform/test/functional/services/monitoring/elasticsearch_summary_status.js diff --git a/x-pack/test/functional/services/monitoring/enterprise_search_overview.js b/x-pack/platform/test/functional/services/monitoring/enterprise_search_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/enterprise_search_overview.js rename to x-pack/platform/test/functional/services/monitoring/enterprise_search_overview.js diff --git a/x-pack/test/functional/services/monitoring/enterprise_search_summary_status.js b/x-pack/platform/test/functional/services/monitoring/enterprise_search_summary_status.js similarity index 100% rename from x-pack/test/functional/services/monitoring/enterprise_search_summary_status.js rename to x-pack/platform/test/functional/services/monitoring/enterprise_search_summary_status.js diff --git a/x-pack/test/functional/services/monitoring/index.js b/x-pack/platform/test/functional/services/monitoring/index.js similarity index 100% rename from x-pack/test/functional/services/monitoring/index.js rename to x-pack/platform/test/functional/services/monitoring/index.js diff --git a/x-pack/test/functional/services/monitoring/kibana_instance.js b/x-pack/platform/test/functional/services/monitoring/kibana_instance.js similarity index 100% rename from x-pack/test/functional/services/monitoring/kibana_instance.js rename to x-pack/platform/test/functional/services/monitoring/kibana_instance.js diff --git a/x-pack/test/functional/services/monitoring/kibana_instances.js b/x-pack/platform/test/functional/services/monitoring/kibana_instances.js similarity index 100% rename from x-pack/test/functional/services/monitoring/kibana_instances.js rename to x-pack/platform/test/functional/services/monitoring/kibana_instances.js diff --git a/x-pack/test/functional/services/monitoring/kibana_overview.js b/x-pack/platform/test/functional/services/monitoring/kibana_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/kibana_overview.js rename to x-pack/platform/test/functional/services/monitoring/kibana_overview.js diff --git a/x-pack/test/functional/services/monitoring/kibana_summary_status.js b/x-pack/platform/test/functional/services/monitoring/kibana_summary_status.js similarity index 100% rename from x-pack/test/functional/services/monitoring/kibana_summary_status.js rename to x-pack/platform/test/functional/services/monitoring/kibana_summary_status.js diff --git a/x-pack/test/functional/services/monitoring/logstash_node_detail.js b/x-pack/platform/test/functional/services/monitoring/logstash_node_detail.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_node_detail.js rename to x-pack/platform/test/functional/services/monitoring/logstash_node_detail.js diff --git a/x-pack/test/functional/services/monitoring/logstash_nodes.js b/x-pack/platform/test/functional/services/monitoring/logstash_nodes.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_nodes.js rename to x-pack/platform/test/functional/services/monitoring/logstash_nodes.js diff --git a/x-pack/test/functional/services/monitoring/logstash_overview.js b/x-pack/platform/test/functional/services/monitoring/logstash_overview.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_overview.js rename to x-pack/platform/test/functional/services/monitoring/logstash_overview.js diff --git a/x-pack/test/functional/services/monitoring/logstash_pipeline_viewer.js b/x-pack/platform/test/functional/services/monitoring/logstash_pipeline_viewer.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_pipeline_viewer.js rename to x-pack/platform/test/functional/services/monitoring/logstash_pipeline_viewer.js diff --git a/x-pack/test/functional/services/monitoring/logstash_pipelines.js b/x-pack/platform/test/functional/services/monitoring/logstash_pipelines.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_pipelines.js rename to x-pack/platform/test/functional/services/monitoring/logstash_pipelines.js diff --git a/x-pack/test/functional/services/monitoring/logstash_summary_status.js b/x-pack/platform/test/functional/services/monitoring/logstash_summary_status.js similarity index 100% rename from x-pack/test/functional/services/monitoring/logstash_summary_status.js rename to x-pack/platform/test/functional/services/monitoring/logstash_summary_status.js diff --git a/x-pack/test/functional/services/monitoring/no_data.js b/x-pack/platform/test/functional/services/monitoring/no_data.js similarity index 100% rename from x-pack/test/functional/services/monitoring/no_data.js rename to x-pack/platform/test/functional/services/monitoring/no_data.js diff --git a/x-pack/test/functional/services/monitoring/setup_mode.js b/x-pack/platform/test/functional/services/monitoring/setup_mode.js similarity index 100% rename from x-pack/test/functional/services/monitoring/setup_mode.js rename to x-pack/platform/test/functional/services/monitoring/setup_mode.js diff --git a/x-pack/test/functional/services/remote_es/remote_es.ts b/x-pack/platform/test/functional/services/remote_es/remote_es.ts similarity index 100% rename from x-pack/test/functional/services/remote_es/remote_es.ts rename to x-pack/platform/test/functional/services/remote_es/remote_es.ts diff --git a/x-pack/test/functional/services/remote_es/remote_es_archiver.ts b/x-pack/platform/test/functional/services/remote_es/remote_es_archiver.ts similarity index 100% rename from x-pack/test/functional/services/remote_es/remote_es_archiver.ts rename to x-pack/platform/test/functional/services/remote_es/remote_es_archiver.ts diff --git a/x-pack/test/functional/services/rules/api.ts b/x-pack/platform/test/functional/services/rules/api.ts similarity index 100% rename from x-pack/test/functional/services/rules/api.ts rename to x-pack/platform/test/functional/services/rules/api.ts diff --git a/x-pack/test/functional/services/rules/common.ts b/x-pack/platform/test/functional/services/rules/common.ts similarity index 100% rename from x-pack/test/functional/services/rules/common.ts rename to x-pack/platform/test/functional/services/rules/common.ts diff --git a/x-pack/test/functional/services/rules/index.ts b/x-pack/platform/test/functional/services/rules/index.ts similarity index 100% rename from x-pack/test/functional/services/rules/index.ts rename to x-pack/platform/test/functional/services/rules/index.ts diff --git a/x-pack/test/functional/services/transform/alerting.ts b/x-pack/platform/test/functional/services/transform/alerting.ts similarity index 100% rename from x-pack/test/functional/services/transform/alerting.ts rename to x-pack/platform/test/functional/services/transform/alerting.ts diff --git a/x-pack/test/functional/services/transform/api.ts b/x-pack/platform/test/functional/services/transform/api.ts similarity index 100% rename from x-pack/test/functional/services/transform/api.ts rename to x-pack/platform/test/functional/services/transform/api.ts diff --git a/x-pack/test/functional/services/transform/date_picker.ts b/x-pack/platform/test/functional/services/transform/date_picker.ts similarity index 100% rename from x-pack/test/functional/services/transform/date_picker.ts rename to x-pack/platform/test/functional/services/transform/date_picker.ts diff --git a/x-pack/test/functional/services/transform/discover.ts b/x-pack/platform/test/functional/services/transform/discover.ts similarity index 100% rename from x-pack/test/functional/services/transform/discover.ts rename to x-pack/platform/test/functional/services/transform/discover.ts diff --git a/x-pack/test/functional/services/transform/edit_flyout.ts b/x-pack/platform/test/functional/services/transform/edit_flyout.ts similarity index 100% rename from x-pack/test/functional/services/transform/edit_flyout.ts rename to x-pack/platform/test/functional/services/transform/edit_flyout.ts diff --git a/x-pack/test/functional/services/transform/index.ts b/x-pack/platform/test/functional/services/transform/index.ts similarity index 100% rename from x-pack/test/functional/services/transform/index.ts rename to x-pack/platform/test/functional/services/transform/index.ts diff --git a/x-pack/test/functional/services/transform/management.ts b/x-pack/platform/test/functional/services/transform/management.ts similarity index 100% rename from x-pack/test/functional/services/transform/management.ts rename to x-pack/platform/test/functional/services/transform/management.ts diff --git a/x-pack/test/functional/services/transform/navigation.ts b/x-pack/platform/test/functional/services/transform/navigation.ts similarity index 100% rename from x-pack/test/functional/services/transform/navigation.ts rename to x-pack/platform/test/functional/services/transform/navigation.ts diff --git a/x-pack/test/functional/services/transform/security_common.ts b/x-pack/platform/test/functional/services/transform/security_common.ts similarity index 100% rename from x-pack/test/functional/services/transform/security_common.ts rename to x-pack/platform/test/functional/services/transform/security_common.ts diff --git a/x-pack/test/functional/services/transform/security_ui.ts b/x-pack/platform/test/functional/services/transform/security_ui.ts similarity index 100% rename from x-pack/test/functional/services/transform/security_ui.ts rename to x-pack/platform/test/functional/services/transform/security_ui.ts diff --git a/x-pack/test/functional/services/transform/source_selection.ts b/x-pack/platform/test/functional/services/transform/source_selection.ts similarity index 100% rename from x-pack/test/functional/services/transform/source_selection.ts rename to x-pack/platform/test/functional/services/transform/source_selection.ts diff --git a/x-pack/test/functional/services/transform/test_execution.ts b/x-pack/platform/test/functional/services/transform/test_execution.ts similarity index 100% rename from x-pack/test/functional/services/transform/test_execution.ts rename to x-pack/platform/test/functional/services/transform/test_execution.ts diff --git a/x-pack/test/functional/services/transform/transform_table.ts b/x-pack/platform/test/functional/services/transform/transform_table.ts similarity index 100% rename from x-pack/test/functional/services/transform/transform_table.ts rename to x-pack/platform/test/functional/services/transform/transform_table.ts diff --git a/x-pack/test/functional/services/transform/wizard.ts b/x-pack/platform/test/functional/services/transform/wizard.ts similarity index 100% rename from x-pack/test/functional/services/transform/wizard.ts rename to x-pack/platform/test/functional/services/transform/wizard.ts diff --git a/x-pack/platform/test/tsconfig.json b/x-pack/platform/test/tsconfig.json index 72aa6ce80eed7..cbb4557bd05b4 100644 --- a/x-pack/platform/test/tsconfig.json +++ b/x-pack/platform/test/tsconfig.json @@ -118,5 +118,6 @@ "@kbn/lens-plugin", "@kbn/mock-idp-utils", "@kbn/es", + "@kbn/ml-category-validator", ] } diff --git a/x-pack/test/functional/services/index.ts b/x-pack/test/functional/services/index.ts index eb0cac586451d..e489dddbf30f1 100644 --- a/x-pack/test/functional/services/index.ts +++ b/x-pack/test/functional/services/index.ts @@ -13,9 +13,6 @@ import { SampleDataServiceProvider } from '@kbn/test-suites-xpack-platform/funct import { GrokDebuggerProvider } from '@kbn/test-suites-xpack-platform/functional/services/grok_debugger'; import { SearchSessionsService } from '@kbn/test-suites-xpack-platform/functional/services/search_sessions'; import { ReportingFunctionalProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services'; -import { services as kibanaXPackApiIntegrationServices } from '../../api_integration/services'; -import { services as commonServices } from '../../common/services'; - import { MonitoringNoDataProvider, MonitoringClusterListProvider, @@ -47,7 +44,18 @@ import { MonitoringEnterpriseSearchOverviewProvider, MonitoringEnterpriseSearchSummaryStatusProvider, // @ts-ignore not ts yet -} from './monitoring'; +} from '@kbn/test-suites-xpack-platform/functional/services/monitoring'; +import { MachineLearningProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/ml'; +import { TransformProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/transform'; +import { CasesServiceProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/cases'; +import { ActionsServiceProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/actions'; +import { RulesServiceProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/rules'; +import { AiopsProvider } from '@kbn/test-suites-xpack-platform/reporting_functional/services/aiops'; +import { CanvasElementProvider } from '@kbn/test-suites-xpack-platform/functional/services/canvas_element'; +import { ObservabilityProvider } from './observability'; +import { services as kibanaXPackApiIntegrationServices } from '../../api_integration/services'; +import { services as commonServices } from '../../common/services'; + // @ts-ignore not ts yet import { PipelineListProvider } from './pipeline_list'; // @ts-ignore not ts yet @@ -55,19 +63,9 @@ import { PipelineEditorProvider } from './pipeline_editor'; // @ts-ignore not ts yet import { RandomProvider } from './random'; // @ts-ignore not ts yet -import { CanvasElementProvider } from './canvas_element'; -// @ts-ignore not ts yet -// @ts-ignore not ts yet import { UptimeProvider } from './uptime'; import { InfraSourceConfigurationFormProvider } from './infra_source_configuration_form'; import { LogsUiProvider } from './logs_ui'; -import { MachineLearningProvider } from './ml'; -import { TransformProvider } from './transform'; -import { ObservabilityProvider } from './observability'; -import { CasesServiceProvider } from './cases'; -import { ActionsServiceProvider } from './actions'; -import { RulesServiceProvider } from './rules'; -import { AiopsProvider } from './aiops'; import { DataStreamProvider } from './data_stream'; import { SloUiServiceProvider } from './slo'; // define the name and providers for services that should be