From 682058c2c9c39361b262b7e3e0c1c51c24251b57 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Wed, 9 Jul 2025 16:38:05 +0300 Subject: [PATCH 1/5] [ska] relocate platform tests & services (#226857) ## Summary ## Summary Part of https://github.com/elastic/kibana-team/issues/1503 This PR is mostly about moving platform tests from x-pack/test ``` x-pack/test/ | - functional/aiops/ | - functional_with_es_ssl/ | - screenshot_creation/ ``` After: ``` x-pack/platform/test/ | - functional/aiops/ | - functional_with_es_ssl/ | - screenshot_creation/ ``` Some FTR services were relocated to the new path as well (`ml`, `transform`, etc.) Few small services were duplicated as we can't relocate it without circular dependency due to cross imports. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Cesare de Cal (cherry picked from commit acf8bd255fb6057d8f4c63628392c862202e34e1) # Conflicts: # .github/CODEOWNERS # x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts # x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts # x-pack/platform/test/tsconfig.json # x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts # x-pack/test/tsconfig.json --- .buildkite/ftr_oblt_stateful_configs.yml | 1 + .buildkite/ftr_platform_stateful_configs.yml | 25 +- .github/CODEOWNERS | 346 +++++++++++++++--- package.json | 4 +- tsconfig.base.json | 8 +- x-pack/platform/plugins/shared/ml/readme.md | 56 +-- .../services/apm_synthtrace_kibana_client.ts | 32 ++ .../test/api_integration/services/index.ts | 2 + .../apps/aiops/change_point_detection.ts | 0 .../aiops/change_point_detection_cases.ts | 2 +- .../aiops/change_point_detection_dashboard.ts | 0 .../test/functional/apps/aiops/config.ts | 2 +- .../test/functional/apps/aiops/index.ts | 0 .../apps/aiops/log_pattern_analysis.ts | 2 +- .../log_pattern_analysis_esql_in_discover.ts | 0 .../aiops/log_pattern_analysis_in_discover.ts | 0 .../apps/aiops/log_rate_analysis.ts | 0 .../__mocks__/analysis_groups_table.ts | 0 .../analysis_groups_table_textfield.ts | 0 ...groups_table_textfield_zerodocsfallback.ts | 0 .../analysis_groups_table_zerodocsfallback.ts | 0 .../test_data/__mocks__/analysis_table.ts | 0 .../__mocks__/analysis_table_textfield.ts | 0 ...alysis_table_textfield_zerodocsfallback.ts | 0 .../analysis_table_zerodocsfallback.ts | 0 .../filtered_analysis_groups_table.ts | 0 ...iltered_analysis_groups_table_textfield.ts | 0 ...groups_table_textfield_zerodocsfallback.ts | 0 ..._analysis_groups_table_zerodocsfallback.ts | 0 .../artificial_log_data_view_test_data.ts | 0 .../farequote_data_view_test_data.ts | 0 ...arequote_data_view_test_data_with_query.ts | 0 .../kibana_logs_data_view_test_data.ts | 0 .../aiops/log_rate_analysis_anomaly_table.ts | 0 .../apps/aiops/log_rate_analysis_cases.ts | 2 +- .../log_rate_analysis_dashboard_embeddable.ts | 0 .../apps/aiops/log_rate_analysis_test_data.ts | 0 .../test/functional/apps/aiops/types.ts | 0 .../test/functional/page_objects/index.ts | 2 + .../page_objects/maintenance_windows_page.ts | 0 .../test/functional/services/actions/api.ts | 0 .../functional/services/actions/common.ts | 0 .../test/functional/services/actions/index.ts | 0 .../functional/services/actions/opsgenie.ts | 0 .../test/functional/services/actions/slack.ts | 0 .../test/functional/services/actions/tines.ts | 0 .../aiops/change_point_detection_page.ts | 0 .../services/aiops/dashboard_embeddables.ts | 0 .../test/functional/services/aiops/index.ts | 0 .../aiops/log_pattern_analysis_page.ts | 0 .../aiops/log_rate_analysis_data_generator.ts | 0 .../services/aiops/log_rate_analysis_page.ts | 0 .../log_rate_analysis_results_groups_table.ts | 0 .../aiops/log_rate_analysis_results_table.ts | 0 .../functional/services/canvas_element.ts | 0 .../test/functional/services/cases/api.ts | 6 +- .../test/functional/services/cases/common.ts | 0 .../test/functional/services/cases/create.ts | 0 .../test/functional/services/cases/files.ts | 0 .../test/functional/services/cases/helpers.ts | 0 .../test/functional/services/cases/index.ts | 0 .../test/functional/services/cases/list.ts | 0 .../functional/services/cases/navigation.ts | 0 .../services/cases/single_case_view.ts | 0 .../services/cases/test_resources.ts | 0 .../test/functional/services/index.ts | 15 + .../services/ml/add_trained_models_flyout.ts | 0 .../test/functional/services/ml/alerting.ts | 0 .../functional/services/ml/anomalies_table.ts | 0 .../functional/services/ml/anomaly_charts.ts | 0 .../services/ml/anomaly_explorer.ts | 2 +- .../test/functional/services/ml/api.ts | 0 .../test/functional/services/ml/cases.ts | 0 .../test/functional/services/ml/common_api.ts | 0 .../functional/services/ml/common_config.ts | 0 .../services/ml/common_data_grid.ts | 0 .../services/ml/common_table_service.ts | 0 .../test/functional/services/ml/common_ui.ts | 0 .../functional/services/ml/custom_urls.ts | 0 .../services/ml/dashboard_embeddables.ts | 0 .../ml/dashboard_job_selection_table.ts | 0 .../test/functional/services/ml/data_drift.ts | 0 .../services/ml/data_frame_analytics.ts | 0 .../ml/data_frame_analytics_creation.ts | 0 .../services/ml/data_frame_analytics_edit.ts | 0 .../services/ml/data_frame_analytics_map.ts | 0 .../ml/data_frame_analytics_results.ts | 0 .../services/ml/data_frame_analytics_table.ts | 0 .../functional/services/ml/data_visualizer.ts | 0 .../services/ml/data_visualizer_file_based.ts | 0 .../ml/data_visualizer_index_based.ts | 0 ...ata_visualizer_index_pattern_management.ts | 0 .../services/ml/data_visualizer_table.ts | 0 .../services/ml/deploy_models_flyout.ts | 0 .../services/ml/field_stats_flyout.ts | 0 .../test/functional/services/ml/forecast.ts | 0 .../test/functional/services/ml/index.ts | 0 .../services/ml/job_annotations_table.ts | 0 .../services/ml/job_expanded_details.ts | 0 .../functional/services/ml/job_management.ts | 0 .../functional/services/ml/job_selection.ts | 0 .../services/ml/job_source_selection.ts | 0 .../test/functional/services/ml/job_table.ts | 0 .../services/ml/job_type_selection.ts | 0 .../services/ml/job_wizard_advanced.ts | 0 .../services/ml/job_wizard_categorization.ts | 0 .../services/ml/job_wizard_common.ts | 0 .../functional/services/ml/job_wizard_geo.ts | 0 .../services/ml/job_wizard_multi_metric.ts | 0 .../services/ml/job_wizard_population.ts | 0 .../services/ml/job_wizard_recognizer.ts | 0 .../services/ml/lens_visualizations.ts | 0 .../functional/services/ml/memory_usage.ts | 0 .../functional/services/ml/ml_nodes_list.ts | 0 .../test/functional/services/ml/navigation.ts | 0 .../functional/services/ml/notifications.ts | 0 .../functional/services/ml/overview_page.ts | 0 .../functional/services/ml/security_common.ts | 0 .../functional/services/ml/security_ui.ts | 0 .../test/functional/services/ml/settings.ts | 0 .../services/ml/settings_calendar.ts | 0 .../services/ml/settings_filter_list.ts | 0 .../services/ml/single_metric_viewer.ts | 0 .../services/ml/stack_management_jobs.ts | 0 .../services/ml/supplied_configurations.ts | 0 .../test/functional/services/ml/swim_lane.ts | 0 .../functional/services/ml/test_execution.ts | 0 .../functional/services/ml/test_resources.ts | 0 .../services/ml/test_resources_data.ts | 0 .../functional/services/ml/trained_models.ts | 0 .../services/ml/trained_models_table.ts | 0 .../test/functional/services/rules/api.ts | 0 .../test/functional/services/rules/common.ts | 0 .../test/functional/services/rules/index.ts | 0 .../functional/services/transform/alerting.ts | 0 .../test/functional/services/transform/api.ts | 0 .../services/transform/date_picker.ts | 0 .../functional/services/transform/discover.ts | 0 .../services/transform/edit_flyout.ts | 0 .../functional/services/transform/index.ts | 0 .../services/transform/management.ts | 0 .../services/transform/navigation.ts | 0 .../services/transform/security_common.ts | 0 .../services/transform/security_ui.ts | 0 .../services/transform/source_selection.ts | 0 .../services/transform/test_execution.ts | 0 .../services/transform/transform_table.ts | 0 .../functional/services/transform/wizard.ts | 0 .../apps/cases/basic/config.ts | 0 .../apps/cases/basic/index.ts | 0 .../apps/cases/basic/list_view.ts | 0 .../apps/cases/common/index.ts | 0 .../apps/cases/common/roles.ts | 2 +- .../apps/cases/common/users.ts | 2 +- .../apps/cases/group1/config.ts | 0 .../apps/cases/group1/create_case_form.ts | 2 +- .../apps/cases/group1/elastic_logo.png | Bin .../apps/cases/group1/index.ts | 0 .../apps/cases/group1/sub_privileges.ts | 2 +- .../apps/cases/group1/view_case.ts | 2 +- .../apps/cases/group2/attachment_framework.ts | 10 +- .../apps/cases/group2/config.ts | 0 .../apps/cases/group2/configure.ts | 0 .../apps/cases/group2/index.ts | 0 .../apps/cases/group2/list_view.ts | 2 +- .../apps/cases/group2/upgrade.ts | 2 +- .../apps/discover_ml}/config.ts | 8 +- .../apps/discover_ml}/discover/index.ts | 0 .../discover/search_source_alert.ts | 0 .../apps/discover_ml}/ml/alert_flyout.ts | 0 .../apps/discover_ml}/ml/index.ts | 0 .../apps/embeddable_alerts_table/config.ts | 0 .../embeddable_alerts_table.ts | 0 .../apps/embeddable_alerts_table/index.ts | 0 .../alert_create_flyout.ts | 2 +- .../triggers_actions_ui/alert_deletion.ts | 2 +- .../apps/triggers_actions_ui/config.ts | 0 .../triggers_actions_ui/connectors/general.ts | 0 .../triggers_actions_ui/connectors/index.ts | 0 .../triggers_actions_ui/connectors/jira.ts | 0 .../connectors/opsgenie.ts | 0 .../triggers_actions_ui/connectors/slack.ts | 0 .../triggers_actions_ui/connectors/tines.ts | 4 +- .../triggers_actions_ui/connectors/utils.ts | 0 .../triggers_actions_ui/connectors/webhook.ts | 0 .../webhook_disabled_ssl_pfx/config.ts | 0 .../webhook_disabled_ssl_pfx/index.ts | 0 .../webhook_disabled_ssl_pfx/webhook.ts | 0 .../with_email_aws_ses_kbn_config/config.ts | 0 .../with_email_aws_ses_kbn_config/email.ts | 0 .../with_email_aws_ses_kbn_config/index.ts | 4 +- .../config.ts | 0 .../email.ts | 0 .../index.ts | 4 +- .../apps/triggers_actions_ui/details.ts | 0 .../apps/triggers_actions_ui/email.ts | 0 .../apps/triggers_actions_ui/home_page.ts | 0 .../apps/triggers_actions_ui/index.ts | 0 .../apps/triggers_actions_ui/logs_list.ts | 7 +- .../maintenance_windows/index.ts | 0 .../maintenance_window_create_form.ts | 96 +++++ .../maintenance_window_update_form.ts | 0 .../maintenance_windows_table.ts | 0 .../maintenance_windows/utils.ts | 0 .../rules_list/bulk_actions.ts | 0 .../triggers_actions_ui/rules_list/index.ts | 0 .../rules_list/rules_list.ts | 0 .../triggers_actions_ui/rules_settings.ts | 0 .../apps/triggers_actions_ui/shared/config.ts | 0 .../shared/global_rule_event_log_list.ts | 9 +- .../apps/triggers_actions_ui/shared/index.ts | 0 .../triggers_actions_ui/stack_alerts_page.ts | 0 .../functional_with_es_ssl/config.base.ts | 6 +- .../ftr_provider_context.d.ts | 0 .../lib/alert_api_actions.ts | 0 .../lib/apm_es_client.ts | 26 ++ .../lib/get_test_data.ts | 0 .../lib/object_remover.ts | 0 .../page_objects/index.ts | 4 +- .../page_objects/rule_details.ts | 0 .../page_objects/triggers_actions_ui_page.ts | 0 .../plugins/alerts/kibana.jsonc | 0 .../plugins/alerts/package.json | 0 .../plugins/alerts/public/application.tsx | 0 .../plugins/alerts/public/index.ts | 0 .../plugins/alerts/public/plugin.ts | 0 .../plugins/alerts/server/index.ts | 0 .../plugins/alerts/server/plugin.ts | 0 .../plugins/alerts/tsconfig.json | 2 +- .../plugins/cases/kibana.jsonc | 0 .../plugins/cases/package.json | 0 .../plugins/cases/public/application.tsx | 0 .../public/attachments/external_reference.tsx | 0 .../external_references_content.tsx | 0 .../public/attachments/persistable_state.tsx | 0 .../plugins/cases/public/index.ts | 0 .../plugins/cases/public/plugin.ts | 0 .../server/attachments/external_reference.ts | 0 .../server/attachments/persistable_state.ts | 0 .../plugins/cases/server/index.ts | 0 .../plugins/cases/server/plugin.ts | 0 .../plugins/cases/tsconfig.json | 2 +- .../test/screenshot_creation/apps/index.ts | 16 + .../ml_docs/anomaly_detection/custom_urls.ts | 0 .../anomaly_detection/finding_anomalies.ts | 0 .../generate_anomaly_alerts.ts | 0 .../anomaly_detection/geographic_data.ts | 0 .../apps/ml_docs/anomaly_detection/index.ts | 0 .../ml_docs/anomaly_detection/influencers.ts | 0 .../anomaly_detection/mapping_anomalies.ts | 0 .../data_frame_analytics/classification.ts | 0 .../ml_docs/data_frame_analytics/index.ts | 0 .../data_frame_analytics/outlier_detection.ts | 0 .../data_frame_analytics/regression.ts | 0 .../screenshot_creation/apps/ml_docs/index.ts | 0 .../apps/response_ops_docs/index.ts | 47 +++ .../maintenance_windows/create_window.ts | 0 .../maintenance_windows/index.ts | 0 .../stack_alerting/es_query_rule.ts | 0 .../response_ops_docs/stack_alerting/index.ts | 0 .../stack_alerting/index_threshold_rule.ts | 0 .../stack_alerting/list_view.ts | 0 .../tracking_containment_rule.ts | 0 .../stack_cases/details_view.ts | 0 .../response_ops_docs/stack_cases/index.ts | 4 +- .../stack_cases/list_view.ts | 0 .../response_ops_docs/stack_cases/settings.ts | 0 .../stack_connectors/bedrock_connector.ts | 0 .../cases_webhook_connector.ts | 0 .../stack_connectors/connectors.ts | 0 .../stack_connectors/crowdstrike_connector.ts | 2 +- .../stack_connectors/email_connector.ts | 0 .../generative_ai_connector.ts | 0 .../ibm_resilient_connector.ts | 2 +- .../stack_connectors/index.ts | 0 .../stack_connectors/index_connector.ts | 0 .../stack_connectors/jira_connector.ts | 0 .../microsoft_teams_connector.ts | 0 .../stack_connectors/opsgenie_connector.ts | 0 .../stack_connectors/pagerduty_connector.ts | 0 .../stack_connectors/sentinelone_connector.ts | 2 +- .../stack_connectors/server_log_connector.ts | 0 .../servicenow_itom_connector.ts | 0 .../servicenow_itsm_connector.ts | 0 .../servicenow_sir_connector.ts | 0 .../stack_connectors/slack_connector.ts | 0 .../stack_connectors/thehive_connector.ts | 2 +- .../stack_connectors/tines_connector.ts | 2 +- .../stack_connectors/webhook_connector.ts | 0 .../stack_connectors/xmatters_connector.ts | 0 .../apps/transform_docs/index.ts | 0 .../apps/transform_docs/transform_alerts.ts | 0 .../test/screenshot_creation/config.ts | 53 +++ .../ftr_provider_context.d.ts | 13 + .../screenshot_creation/page_objects/index.ts | 0 .../services/common_screenshots.ts | 0 .../screenshot_creation/services/index.ts | 0 x-pack/platform/test/tsconfig.json | 7 + .../ai_assistant/utils/model_and_inference.ts | 2 +- x-pack/test/api_integration/services/aiops.ts | 18 - x-pack/test/api_integration/services/index.ts | 4 - .../api_integration/services/transform.ts | 26 -- .../logs/ml_job_id_formats/ml_job_helper.ts | 2 +- .../ml/anomaly_detection_jobs/custom_urls.ts | 4 +- .../job_expanded_details.ts | 2 +- .../anomaly_explorer.ts | 2 +- .../classification_creation.ts | 8 +- .../classification_creation_saved_search.ts | 2 +- .../ml/data_frame_analytics/custom_urls.ts | 4 +- .../outlier_detection_creation.ts | 8 +- ...outlier_detection_creation_saved_search.ts | 2 +- .../regression_creation.ts | 8 +- .../regression_creation_saved_search.ts | 2 +- .../apps/ml/permissions/full_ml_access.ts | 3 +- .../apps/ml/permissions/no_ml_access.ts | 3 +- .../apps/ml/permissions/read_ml_access.ts | 3 +- .../model_management/model_list.ts | 2 +- .../ml/stack_management_jobs/manage_spaces.ts | 2 +- .../playground_overview.ess.ts | 21 +- .../apps/transform/actions/reauthorizing.ts | 4 +- .../creation_runtime_mappings.ts | 3 +- x-pack/test/functional/page_objects/index.ts | 2 +- x-pack/test/functional/services/index.ts | 16 +- .../apps/ml/permissions/full_ml_access.ts | 2 +- .../apps/ml/permissions/no_ml_access.ts | 3 +- .../apps/ml/permissions/read_ml_access.ts | 2 +- .../functional_with_es_ssl/apps/config.ts | 33 ++ .../uptime/alert_flyout.ts | 2 +- .../{discover_ml_uptime => }/uptime/index.ts | 2 +- .../uptime/simple_down_alert.ts | 4 +- .../ftr_provider_context.ts | 27 ++ .../observability/pages/alerts/rule_stats.ts | 8 +- .../with_rac_write.config.ts | 5 +- x-pack/test/screenshot_creation/apps/index.ts | 2 - .../apps/response_ops_docs/index.ts | 4 - x-pack/test/screenshot_creation/config.ts | 34 +- .../ftr_provider_context.d.ts | 10 +- .../machine_learning_setup.ts | 2 +- .../evaluations.ts | 2 +- .../trial_license_complete_tier/entries.ts | 2 +- .../knowledge_base/entries/utils/helpers.ts | 4 +- .../task_execution.ts | 2 +- ...onfig.stack_functional_integration_base.js | 2 +- x-pack/test/tsconfig.json | 11 +- .../search/ml/trained_models_list.ts | 2 +- .../security/ml/trained_models_list.ts | 2 +- yarn.lock | 4 +- 347 files changed, 864 insertions(+), 317 deletions(-) create mode 100644 x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts rename x-pack/{ => platform}/test/functional/apps/aiops/change_point_detection.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/change_point_detection_cases.ts (97%) rename x-pack/{ => platform}/test/functional/apps/aiops/change_point_detection_dashboard.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/config.ts (96%) rename x-pack/{ => platform}/test/functional/apps/aiops/index.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_pattern_analysis.ts (98%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_pattern_analysis_esql_in_discover.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_pattern_analysis_in_discover.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_zerodocsfallback.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/artificial_log_data_view_test_data.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data_with_query.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis/test_data/kibana_logs_data_view_test_data.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis_anomaly_table.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis_cases.ts (97%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis_dashboard_embeddable.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/log_rate_analysis_test_data.ts (100%) rename x-pack/{ => platform}/test/functional/apps/aiops/types.ts (100%) rename x-pack/{ => platform}/test/functional/page_objects/maintenance_windows_page.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/api.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/common.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/opsgenie.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/slack.ts (100%) rename x-pack/{ => platform}/test/functional/services/actions/tines.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/change_point_detection_page.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/dashboard_embeddables.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/log_pattern_analysis_page.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/log_rate_analysis_data_generator.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/log_rate_analysis_page.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/log_rate_analysis_results_groups_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/aiops/log_rate_analysis_results_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/canvas_element.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/api.ts (94%) rename x-pack/{ => platform}/test/functional/services/cases/common.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/create.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/files.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/helpers.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/list.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/navigation.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/single_case_view.ts (100%) rename x-pack/{ => platform}/test/functional/services/cases/test_resources.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/add_trained_models_flyout.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/alerting.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/anomalies_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/anomaly_charts.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/anomaly_explorer.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/api.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/cases.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/common_api.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/common_config.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/common_data_grid.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/common_table_service.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/common_ui.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/custom_urls.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/dashboard_embeddables.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/dashboard_job_selection_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_drift.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics_creation.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics_edit.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics_map.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics_results.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_frame_analytics_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_visualizer.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_visualizer_file_based.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_visualizer_index_based.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_visualizer_index_pattern_management.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/data_visualizer_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/deploy_models_flyout.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/field_stats_flyout.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/forecast.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_annotations_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_expanded_details.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_management.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_selection.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_source_selection.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_type_selection.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_advanced.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_categorization.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_common.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_geo.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_multi_metric.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_population.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/job_wizard_recognizer.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/lens_visualizations.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/memory_usage.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/ml_nodes_list.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/navigation.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/notifications.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/overview_page.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/security_common.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/security_ui.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/settings.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/settings_calendar.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/settings_filter_list.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/single_metric_viewer.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/stack_management_jobs.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/supplied_configurations.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/swim_lane.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/test_execution.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/test_resources.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/test_resources_data.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/trained_models.ts (100%) rename x-pack/{ => platform}/test/functional/services/ml/trained_models_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/rules/api.ts (100%) rename x-pack/{ => platform}/test/functional/services/rules/common.ts (100%) rename x-pack/{ => platform}/test/functional/services/rules/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/alerting.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/api.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/date_picker.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/discover.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/edit_flyout.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/index.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/management.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/navigation.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/security_common.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/security_ui.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/source_selection.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/test_execution.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/transform_table.ts (100%) rename x-pack/{ => platform}/test/functional/services/transform/wizard.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/basic/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/basic/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/basic/list_view.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/common/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/common/roles.ts (95%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/common/users.ts (91%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts (98%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/elastic_logo.png (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts (98%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group1/view_case.ts (99%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts (98%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/configure.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/list_view.ts (99%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts (99%) rename x-pack/{test/functional_with_es_ssl/apps/discover_ml_uptime => platform/test/functional_with_es_ssl/apps/discover_ml}/config.ts (84%) rename x-pack/{test/functional_with_es_ssl/apps/discover_ml_uptime => platform/test/functional_with_es_ssl/apps/discover_ml}/discover/index.ts (100%) rename x-pack/{test/functional_with_es_ssl/apps/discover_ml_uptime => platform/test/functional_with_es_ssl/apps/discover_ml}/discover/search_source_alert.ts (100%) rename x-pack/{test/functional_with_es_ssl/apps/discover_ml_uptime => platform/test/functional_with_es_ssl/apps/discover_ml}/ml/alert_flyout.ts (100%) rename x-pack/{test/functional_with_es_ssl/apps/discover_ml_uptime => platform/test/functional_with_es_ssl/apps/discover_ml}/ml/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/embeddable_alerts_table/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts (99%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts (97%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/general.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/jira.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/opsgenie.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts (98%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/utils.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/webhook.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/email.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts (72%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/email.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts (72%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/email.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/home_page.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts (93%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/index.ts (100%) create mode 100644 x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_update_form.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/utils.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/bulk_actions.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/rules_list.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_settings.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts (96%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/apps/triggers_actions_ui/stack_alerts_page.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/config.base.ts (94%) rename x-pack/{ => platform}/test/functional_with_es_ssl/ftr_provider_context.d.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/lib/alert_api_actions.ts (100%) create mode 100644 x-pack/platform/test/functional_with_es_ssl/lib/apm_es_client.ts rename x-pack/{ => platform}/test/functional_with_es_ssl/lib/get_test_data.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/lib/object_remover.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/page_objects/index.ts (79%) rename x-pack/{ => platform}/test/functional_with_es_ssl/page_objects/rule_details.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/kibana.jsonc (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/package.json (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/public/application.tsx (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/public/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/public/plugin.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/server/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/server/plugin.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/alerts/tsconfig.json (87%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/kibana.jsonc (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/package.json (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/application.tsx (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/attachments/external_reference.tsx (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/attachments/external_references_content.tsx (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/attachments/persistable_state.tsx (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/public/plugin.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/server/attachments/external_reference.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/server/attachments/persistable_state.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/server/index.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/server/plugin.ts (100%) rename x-pack/{ => platform}/test/functional_with_es_ssl/plugins/cases/tsconfig.json (86%) create mode 100644 x-pack/platform/test/screenshot_creation/apps/index.ts rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/custom_urls.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/finding_anomalies.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/generate_anomaly_alerts.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/geographic_data.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/influencers.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/anomaly_detection/mapping_anomalies.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/data_frame_analytics/classification.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/data_frame_analytics/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/data_frame_analytics/outlier_detection.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/data_frame_analytics/regression.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/ml_docs/index.ts (100%) create mode 100644 x-pack/platform/test/screenshot_creation/apps/response_ops_docs/index.ts rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/create_window.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_alerting/es_query_rule.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index_threshold_rule.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_alerting/list_view.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_alerting/tracking_containment_rule.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_cases/details_view.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts (87%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_cases/settings.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/bedrock_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/cases_webhook_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/connectors.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts (95%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/email_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/generative_ai_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts (96%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/jira_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/microsoft_teams_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/opsgenie_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/pagerduty_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts (95%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/server_log_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itom_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itsm_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_sir_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/slack_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts (95%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts (95%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/webhook_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/response_ops_docs/stack_connectors/xmatters_connector.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/transform_docs/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/apps/transform_docs/transform_alerts.ts (100%) create mode 100644 x-pack/platform/test/screenshot_creation/config.ts create mode 100644 x-pack/platform/test/screenshot_creation/ftr_provider_context.d.ts rename x-pack/{ => platform}/test/screenshot_creation/page_objects/index.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/services/common_screenshots.ts (100%) rename x-pack/{ => platform}/test/screenshot_creation/services/index.ts (100%) delete mode 100644 x-pack/test/api_integration/services/aiops.ts delete mode 100644 x-pack/test/api_integration/services/transform.ts create mode 100644 x-pack/test/functional_with_es_ssl/apps/config.ts rename x-pack/test/functional_with_es_ssl/apps/{discover_ml_uptime => }/uptime/alert_flyout.ts (99%) rename x-pack/test/functional_with_es_ssl/apps/{discover_ml_uptime => }/uptime/index.ts (93%) rename x-pack/test/functional_with_es_ssl/apps/{discover_ml_uptime => }/uptime/simple_down_alert.ts (96%) create mode 100644 x-pack/test/functional_with_es_ssl/ftr_provider_context.ts diff --git a/.buildkite/ftr_oblt_stateful_configs.yml b/.buildkite/ftr_oblt_stateful_configs.yml index b8e988ef175b2..95384f3f5e7de 100644 --- a/.buildkite/ftr_oblt_stateful_configs.yml +++ b/.buildkite/ftr_oblt_stateful_configs.yml @@ -44,6 +44,7 @@ enabled: - x-pack/test/observability_ai_assistant_functional/enterprise/config.ts - x-pack/solutions/observability/test/api_integration/profiling/cloud/config.ts - x-pack/test/functional/apps/apm/config.ts + - x-pack/test/functional_with_es_ssl/apps/config.ts # stateful configs that run deployment-agnostic tests - x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts - x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts diff --git a/.buildkite/ftr_platform_stateful_configs.yml b/.buildkite/ftr_platform_stateful_configs.yml index f7c5a72c80432..70831be811352 100644 --- a/.buildkite/ftr_platform_stateful_configs.yml +++ b/.buildkite/ftr_platform_stateful_configs.yml @@ -10,7 +10,7 @@ disabled: - x-pack/platform/test/functional/config.base.ts - x-pack/platform/test/localization/config.base.ts - src/platform/test/server_integration/config.base.js - - x-pack/test/functional_with_es_ssl/config.base.ts + - x-pack/platform/test/functional_with_es_ssl/config.base.ts - x-pack/test/api_integration/config.ts - x-pack/platform/test/api_integration/config.ts - x-pack/test/fleet_api_integration/config.base.ts @@ -34,6 +34,7 @@ disabled: - x-pack/platform/test/load/config.ts - x-pack/platform/test/plugin_api_perf/config.ts - x-pack/test/screenshot_creation/config.ts + - x-pack/platform/test/screenshot_creation/config.ts - x-pack/platform/test/fleet_packages/config.ts # Scalability testing config that we run in its own pipeline @@ -185,18 +186,18 @@ enabled: - x-pack/platform/test/functional_cors/config.ts - x-pack/platform/test/functional_embedded/config.ts - x-pack/platform/test/functional_execution_context/config.ts - - x-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts - - x-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts - - x-pack/test/functional_with_es_ssl/apps/cases/basic/config.ts - - x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts - - x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts - - x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts - - x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts - - x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts - - x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts - - x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts + - x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts - x-pack/test/functional/apps/advanced_settings/config.ts - - x-pack/test/functional/apps/aiops/config.ts + - x-pack/platform/test/functional/apps/aiops/config.ts - x-pack/test/functional/apps/api_keys/config.ts - x-pack/platform/test/functional/apps/canvas/config.ts - x-pack/test/functional/apps/cross_cluster_replication/config.ts diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a90e956041345..b982adcf7c59a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1094,12 +1094,206 @@ src/platform/packages/shared/kbn-visualization-ui-components @elastic/kibana-vis src/platform/packages/shared/kbn-visualization-utils @elastic/kibana-visualizations src/platform/plugins/shared/visualizations @elastic/kibana-visualizations x-pack/platform/plugins/private/watcher @elastic/kibana-management -packages/kbn-web-worker-stub @elastic/kibana-operations -packages/kbn-whereis-pkg-cli @elastic/kibana-operations -src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team -packages/kbn-yarn-lock-validator @elastic/kibana-operations -src/platform/packages/shared/kbn-zod @elastic/kibana-core -src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management +x-pack/platform/plugins/shared/actions @elastic/response-ops +x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra +x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra +x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/alerting @elastic/response-ops +x-pack/platform/plugins/shared/apm_sources_access @elastic/obs-ux-infra_services-team +x-pack/platform/plugins/shared/automatic_import @elastic/security-scalability +x-pack/platform/plugins/shared/cases @elastic/response-ops @elastic/kibana-cases +x-pack/platform/plugins/shared/cloud @elastic/kibana-core +x-pack/platform/plugins/shared/content_connectors @elastic/search-kibana +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/embeddable_alerts_table @elastic/response-ops +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/encrypted_saved_objects @elastic/kibana-security +x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/event_log @elastic/response-ops +x-pack/platform/plugins/shared/features @elastic/kibana-core +x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/fleet @elastic/fleet +x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux +x-pack/platform/plugins/shared/index_management @elastic/kibana-management +x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra +x-pack/platform/plugins/shared/inference_endpoint @elastic/ml-ui +x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management +x-pack/platform/plugins/shared/lens @elastic/kibana-visualizations +x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/licensing @elastic/kibana-core +x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/maps @elastic/kibana-presentation +x-pack/platform/plugins/shared/ml @elastic/ml-ui +x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux +x-pack/platform/plugins/shared/observability_ai_assistant @elastic/obs-ai-assistant +x-pack/platform/plugins/shared/onechat @elastic/workchat-eng +x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows +x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team +x-pack/platform/plugins/shared/saved_objects_tagging @elastic/appex-sharedux +x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services +x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management +x-pack/platform/plugins/shared/security @elastic/kibana-security +x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux +x-pack/platform/plugins/shared/spaces @elastic/kibana-security +x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops +x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops +x-pack/platform/plugins/shared/streams @elastic/streams-program-team +x-pack/platform/plugins/shared/streams_app @elastic/streams-program-team +x-pack/platform/plugins/shared/task_manager @elastic/response-ops +x-pack/platform/plugins/shared/timelines @elastic/security-threat-hunting-investigations +x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops +x-pack/platform/test +x-pack/platform/test/alerting_api_integration/common/plugins/aad @elastic/response-ops +x-pack/platform/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops +x-pack/platform/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops +x-pack/platform/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops +x-pack/platform/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops +x-pack/platform/test/alerting_api_integration/packages/helpers @elastic/response-ops +x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities +x-pack/platform/test/cases_api_integration/common/plugins/cases @elastic/response-ops +x-pack/platform/test/cases_api_integration/common/plugins/observability @elastic/response-ops +x-pack/platform/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops +x-pack/platform/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security +x-pack/platform/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security +x-pack/platform/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core +x-pack/platform/test/functional_execution_context/plugins/alerts @elastic/kibana-core +x-pack/platform/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops +x-pack/platform/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +x-pack/platform/test/licensing_plugin/plugins/test_feature_usage @elastic/kibana-security +x-pack/platform/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core +x-pack/platform/test/plugin_api_integration/plugins/event_log @elastic/response-ops +x-pack/platform/test/plugin_api_integration/plugins/feature_usage_test @elastic/kibana-security +x-pack/platform/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops +x-pack/platform/test/plugin_api_perf/plugins/task_manager_performance @elastic/response-ops +x-pack/platform/test/saved_object_api_integration/common/plugins/saved_object_test_plugin @elastic/kibana-security +x-pack/platform/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security +x-pack/platform/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget @elastic/response-ops +x-pack/platform/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security +x-pack/platform/test/usage_collection/plugins/application_usage_test @elastic/kibana-core +x-pack/platform/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana-management +x-pack/solutions/chat/packages/wc-framework-types-browser @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wc-framework-types-common @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wc-framework-types-server @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wc-genai-utils @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wc-index-schema-builder @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wc-integration-utils @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wci-browser @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wci-common @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/packages/wci-server @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/serverless_chat @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/wci-external-server @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/wci-index-source @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/wci-salesforce @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/workchat-app @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/chat/plugins/workchat-framework @elastic/search-kibana @elastic/workchat-eng +x-pack/solutions/observability/packages/alert-details @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/alerting-test-data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/get-padded-alert-time-range-util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team +x-pack/solutions/observability/packages/kbn-genai-cli @elastic/obs-knowledge-team +x-pack/solutions/observability/packages/kbn-observability-schema @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-scout-oblt @elastic/appex-qa +x-pack/solutions/observability/packages/observability-ai/observability-ai-common @elastic/obs-ai-assistant +x-pack/solutions/observability/packages/observability-ai/observability-ai-server @elastic/obs-ai-assistant +x-pack/solutions/observability/packages/synthetics-test-data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/utils-browser @elastic/observability-ui +x-pack/solutions/observability/packages/utils-common @elastic/observability-ui +x-pack/solutions/observability/packages/utils-server @elastic/observability-ui +x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/metrics_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant +x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui +x-pack/solutions/observability/plugins/observability_streams_wrapper @elastic/streams-program-team +x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team +x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team +x-pack/solutions/observability/test +x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana +x-pack/solutions/search/packages/kbn-search-queries @elastic/search-kibana +x-pack/solutions/search/packages/shared-ui @elastic/search-kibana +x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana +x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana +x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana +x-pack/solutions/search/plugins/search_indices @elastic/search-kibana +x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana +x-pack/solutions/search/plugins/search_navigation @elastic/search-kibana +x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana +x-pack/solutions/search/plugins/search_playground @elastic/search-kibana +x-pack/solutions/search/plugins/search_query_rules @elastic/search-kibana +x-pack/solutions/search/plugins/search_synonyms @elastic/search-kibana +x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana +x-pack/solutions/search/test @elastic/search-kibana +x-pack/solutions/security/packages/ai-security-labs-content @elastic/security-generative-ai +x-pack/solutions/security/packages/connectors @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/data-table @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/distribution-bar @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/ecs-data-quality-dashboard @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/features @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting +x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture +x-pack/solutions/security/packages/kbn-scout-security @elastic/appex-qa +x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine +x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine @elastic/security-detection-rule-management +x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/security-ai-prompts @elastic/security-generative-ai +x-pack/solutions/security/packages/side-nav @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-investigations +x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-investigations +x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture +x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-investigations +x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai +x-pack/solutions/security/plugins/elastic_assistant_shared_state @elastic/security-generative-ai +x-pack/solutions/security/plugins/lists @elastic/security-detection-engine +x-pack/solutions/security/plugins/security_solution @elastic/security-solution +x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution +x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution +x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture +x-pack/solutions/security/test +x-pack/test +x-pack/test_serverless +x-pack/test/cloud_integration/plugins/saml_provider @elastic/kibana-core +x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core +x-pack/test/plugin_functional/plugins/resolver_test @elastic/security-solution +x-pack/test/security_api_integration/packages/helpers @elastic/kibana-security +x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security +x-pack/test/security_api_integration/plugins/features_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security +x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kibana-security +x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security #### ## Everything below this line overrides the default assignments for each package. ## Items lower in the file have higher precedence: @@ -1124,6 +1318,64 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela ^/src/platform/test/functional/fixtures/es_archiver/makelogs @elastic/kibana-data-discovery /x-pack/test/functional/fixtures/kbn_archiver/kibana_scripted_fields_on_logstash.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/x-pack/test/functional/apps/discover/async_scripted_fields.ts#L35 /x-pack/test/functional/fixtures/kbn_archiver/discover @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/unmapped_fields.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group7/_indexpattern_with_unmapped_fields.ts#L28 +/src/platform/test/functional/fixtures/kbn_archiver/testlargestring.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group5/_large_string.ts#L28 +/src/platform/test/functional/fixtures/kbn_archiver/message_with_newline.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/classic/_doc_table_newline.ts#L26 +/src/platform/test/functional/fixtures/kbn_archiver/invalid_scripted_field.json @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/index_pattern_without_timefield.json @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/discover @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/discover.json @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/date_nested.json @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/kbn_archiver/date_* @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/unmapped_fields @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group7/_indexpattern_with_unmapped_fields.ts#L26 +/src/platform/test/functional/fixtures/es_archiver/message_with_newline @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/classic/_doc_table_newline.ts#L24 +/src/platform/test/functional/fixtures/es_archiver/hamlet @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group5/_large_string.ts#L30 +/src/platform/test/api_integration/fixtures/kbn_archiver/index_patterns @elastic/kibana-data-discovery +/src/platform/test/api_integration/fixtures/es_archiver/index_patterns @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/alias @elastic/kibana-data-discovery +/src/platform/test/functional/page_objects/context_page.ts @elastic/kibana-data-discovery +/src/platform/test/functional/services/data_views.ts @elastic/kibana-data-discovery +/src/platform/test/functional/services/saved_objects_finder.ts @elastic/kibana-data-discovery +/src/platform/test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery +/src/platform/test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery +/src/platform/test/functional/page_objects/discover_page.ts @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/index_pattern_without_timefield @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/huge_fields @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/date_n* @elastic/kibana-data-discovery +/src/platform/test/functional/firefox/discover.config.ts @elastic/kibana-data-discovery +/src/platform/test/functional/fixtures/es_archiver/discover @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/saved_queries @elastic/kibana-data-discovery +/x-pack/platform/test/api_integration/apis/kibana/kql_telemetry @elastic/kibana-data-discovery @elastic/kibana-visualizations +/x-pack/test_serverless/functional/es_archives/pre_calculated_histogram @elastic/kibana-data-discovery +/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern @elastic/kibana-data-discovery +/x-pack/test_serverless/functional/test_suites/security/config.examples.ts @elastic/kibana-data-discovery +/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts @elastic/kibana-data-discovery +/src/platform/test/accessibility/apps/discover.ts @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/data_views @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/data_view_field_editor @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/kql_telemetry @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/scripts @elastic/kibana-data-discovery +/src/platform/test/api_integration/apis/search @elastic/kibana-data-discovery +/src/platform/test/examples/data_view_field_editor_example @elastic/kibana-data-discovery +/src/platform/test/examples/discover_customization_examples @elastic/kibana-data-discovery +/src/platform/test/examples/field_formats @elastic/kibana-data-discovery +/src/platform/test/examples/partial_results @elastic/kibana-data-discovery +/src/platform/test/examples/search @elastic/kibana-data-discovery +/src/platform/test/examples/unified_field_list_examples @elastic/kibana-data-discovery +/src/platform/test/examples/unified_tabs_examples @elastic/kibana-data-discovery +/src/platform/test/functional/apps/context @elastic/kibana-data-discovery +/src/platform/test/functional/apps/discover @elastic/kibana-data-discovery +/src/platform/test/functional/apps/management/ccs_compatibility/_data_views_ccs.ts @elastic/kibana-data-discovery +/src/platform/test/functional/apps/management/data_views @elastic/kibana-data-discovery +/src/platform/test/plugin_functional/test_suites/data_plugin @elastic/kibana-data-discovery +/x-pack/test/accessibility/apps/group3/search_sessions.ts @elastic/kibana-data-discovery +/x-pack/platform/test/api_integration/apis/management/rollup/index_patterns_extensions.js @elastic/kibana-data-discovery +/x-pack/platform/test/api_integration/apis/search @elastic/kibana-data-discovery +/x-pack/platform/test/examples/search_examples @elastic/kibana-data-discovery +/x-pack/test/functional/apps/data_views @elastic/kibana-data-discovery +/x-pack/test/functional/apps/discover @elastic/kibana-data-discovery +/x-pack/platform/test/functional/apps/saved_query_management @elastic/kibana-data-discovery +/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover @elastic/kibana-data-discovery /x-pack/platform/test/search_sessions_integration @elastic/kibana-data-discovery /x-pack/test/stack_functional_integration/apps/ccs/ccs_discover.js @elastic/kibana-data-discovery /x-pack/test/stack_functional_integration/apps/management/_index_pattern_create.js @elastic/kibana-data-discovery @@ -1157,7 +1409,7 @@ src/platform/plugins/shared/discover/public/context_awareness/profile_providers/ # Platform Docs /x-pack/test_serverless/functional/test_suites/security/screenshot_creation/index.ts @elastic/platform-docs /x-pack/test_serverless/functional/test_suites/security/config.screenshots.ts @elastic/platform-docs -/x-pack/test/screenshot_creation @elastic/platform-docs +/x-pack/platform/test/screenshot_creation @elastic/platform-docs # Visualizations /x-pack/test/functional/fixtures/kbn_archiver/rollup @elastic/kibana-visualizations # Assigned per the only uses are in lens and tsvb tests @@ -1410,7 +1662,8 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions # APM /x-pack/test/stack_functional_integration/apps/apm @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team /x-pack/test/common/services/apm_synthtrace_kibana_client.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team -^/src/platform/test/api_integration/apis/ui_metric/*.ts @elastic/obs-ux-infra_services-team +/x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team +/src/platform/test/api_integration/apis/ui_metric/*.ts @elastic/obs-ux-infra_services-team /x-pack/test/functional/apps/apm/ @elastic/obs-ux-infra_services-team /x-pack/solutions/observability/test/api_integration/apm/ @elastic/obs-ux-infra_services-team /x-pack/test/apm_cypress/ @elastic/obs-ux-infra_services-team @@ -1424,7 +1677,9 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions # Uptime /x-pack/test/functional/page_objects/uptime_page.ts @elastic/obs-ux-management-team -/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/ @elastic/obs-ux-management-team +/x-pack/test/functional_with_es_ssl/apps/uptime/ @elastic/obs-ux-management-team +/x-pack/test/functional_with_es_ssl/apps/config.ts @elastic/obs-ux-management-team +/x-pack/test/functional_with_es_ssl/ftr_provider_context.ts @elastic/obs-ux-management-team /x-pack/test/functional/apps/uptime @elastic/obs-ux-management-team /x-pack/test/functional/es_archives/uptime @elastic/obs-ux-management-team /x-pack/test/functional/services/uptime @elastic/obs-ux-management-team @@ -1495,12 +1750,12 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/test/functional/fixtures/kbn_archiver/maps.json @elastic/kibana-presentation /x-pack/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation /x-pack/test/functional/es_archives/dashboard/async_search @elastic/kibana-presentation -^/src/platform/test/functional/fixtures/kbn_archiver/dashboard @elastic/kibana-presentation -^/src/platform/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation -^/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 +/src/platform/test/functional/fixtures/kbn_archiver/dashboard @elastic/kibana-presentation +/src/platform/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation +/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/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/platform/test/upgrade/apps/canvas @elastic/kibana-presentation @@ -1550,14 +1805,14 @@ 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 +/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts @elastic/ml-ui +/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/ @elastic/ml-ui /x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/ml_rule_types/ @elastic/ml-ui -/x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui -/x-pack/test/screenshot_creation/apps/ml_docs @elastic/ml-ui -/x-pack/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui +/x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui @elastic/kibana-management +/x-pack/platform/test/screenshot_creation/apps/ml_docs @elastic/ml-ui +/x-pack/platform/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui /x-pack/test_serverless/**/test_suites/**/ml/ @elastic/ml-ui /x-pack/test_serverless/**/test_suites/common/management/transforms/ @elastic/ml-ui /x-pack/test/api_integration/services/ml.ts @elastic/ml-ui @@ -1573,13 +1828,13 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /x-pack/platform/test/api_integration_basic/apis/aiops @elastic/ml-ui /x-pack/platform/test/api_integration_basic/apis/transform/ @elastic/ml-ui /x-pack/test/api_integration/services/aiops.ts @elastic/ml-ui -/x-pack/test/api_integration/services/transform.ts @elastic/ml-ui -/x-pack/test/functional/apps/aiops @elastic/ml-ui -/x-pack/test/functional/apps/transform/ @elastic/ml-ui +/x-pack/test/api_integration/services/transform.ts @elastic/ml-ui @elastic/kibana-management +/x-pack/platform/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 -/x-pack/test/functional/services/aiops @elastic/ml-ui -/x-pack/test/functional_basic/apps/transform/ @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 ^/src/platform/test/package @elastic/kibana-operations @@ -1651,7 +1906,7 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /x-pack/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 +/x-pack/platform/test/functional_with_es_ssl/ftr_provider_context.d.ts @elastic/appex-qa /x-pack/test/stack_functional_integration/apps @elastic/appex-qa /x-pack/test/plugin_functional/config.ts @elastic/appex-qa /x-pack/test/plugin_functional/ftr_provider_context.d.ts @elastic/appex-qa @@ -2011,30 +2266,33 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /x-pack/test/functional/es_archives/event_log_multiple_indicies @elastic/response-ops /x-pack/test/functional/es_archives/task_manager* @elastic/response-ops # Assigned per https://github.com/elastic/kibana/blob/assign-response-ops/x-pack/platform/test/plugin_api_perf/plugins/task_manager_performance/kibana.jsonc#L4 /x-pack/platform/test/plugin_api_perf @elastic/response-ops # Assigned per https://github.com/elastic/kibana/blob/assign-response-ops/x-pack/platform/test/plugin_api_perf/plugins/task_manager_performance/kibana.jsonc#L4 -/x-pack/test/functional/page_objects/maintenance_windows_page.ts @elastic/response-ops +/x-pack/platform/test/functional/page_objects/maintenance_windows_page.ts @elastic/response-ops /x-pack/test_serverless/functional/test_suites/observability/screenshot_creation/index.ts @elastic/response-ops /x-pack/test_serverless/functional/test_suites/observability/rules/rules_list.ts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/config.base.ts @elastic/response-ops # Assigned per https://github.com/elastic/kibana/pull/197070 -/x-pack/test/functional_with_es_ssl/lib/alert_api_actions.ts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/lib/get_test_data.ts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/page_objects/index.ts @elastic/response-ops # Assigned per git blame -/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts @elastic/response-ops -/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/platform/test/functional_with_es_ssl/config.base.ts @elastic/response-ops # Assigned per https://github.com/elastic/kibana/pull/197070 +/x-pack/platform/test/functional_with_es_ssl/lib/alert_api_actions.ts @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/lib/get_test_data.ts @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/lib/apm_es_client.ts @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/page_objects/index.ts @elastic/response-ops # Assigned per git blame +/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/page_objects/rule_details.ts @elastic/response-ops +/x-pack/platform/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/platform/test/upgrade/services/rules_upgrade_services.ts @elastic/response-ops /x-pack/platform/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 -/x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops @elastic/kibana-cases +/x-pack/platform/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops @elastic/kibana-cases +/x-pack/platform/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops /x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops +/x-pack/test/screenshot_creation/ @elastic/response-ops /x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops /x-pack/test_serverless/functional/page_objects/svl_triggers_actions_ui_page.ts @elastic/response-ops @@ -2043,15 +2301,15 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /x-pack/platform/test/alerting_api_integration/ @elastic/response-ops /x-pack/solutions/observability/test/alerting_api_integration/observability @elastic/obs-ux-management-team /x-pack/platform/test/plugin_api_integration/test_suites/task_manager/ @elastic/response-ops -/x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/ @elastic/response-ops -/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/ @elastic/response-ops +/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/response-ops /x-pack/platform/test/task_manager_claimer_update_by_query/ @elastic/response-ops /docs/user/alerting/ @elastic/response-ops /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/test/functional_with_es_ssl/apps/cases/ @elastic/response-ops @elastic/kibana-cases +/x-pack/platform/test/functional/services/cases/ @elastic/response-ops @elastic/kibana-cases +/x-pack/platform/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 /x-pack/test_serverless/functional/test_suites/search/cases/ @elastic/response-ops @elastic/kibana-cases diff --git a/package.json b/package.json index 25adcbc32b8d1..238801dc59e05 100644 --- a/package.json +++ b/package.json @@ -183,7 +183,7 @@ "@kbn/alerting-api-integration-test-plugin": "link:x-pack/platform/test/alerting_api_integration/common/plugins/alerts", "@kbn/alerting-comparators": "link:x-pack/platform/packages/shared/kbn-alerting-comparators", "@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example", - "@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts", + "@kbn/alerting-fixture-plugin": "link:x-pack/platform/test/functional_with_es_ssl/plugins/alerts", "@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting", "@kbn/alerting-rule-utils": "link:x-pack/platform/packages/shared/alerting-rule-utils", "@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types", @@ -563,7 +563,7 @@ "@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts", "@kbn/foo-plugin": "link:x-pack/platform/test/ui_capabilities/common/plugins/foo_plugin", "@kbn/ftr-apis-plugin": "link:src/platform/plugins/private/ftr_apis", - "@kbn/functional-with-es-ssl-cases-test-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/cases", + "@kbn/functional-with-es-ssl-cases-test-plugin": "link:x-pack/platform/test/functional_with_es_ssl/plugins/cases", "@kbn/gen-ai-streaming-response-example-plugin": "link:x-pack/examples/gen_ai_streaming_response_example", "@kbn/generate-csv": "link:src/platform/packages/private/kbn-generate-csv", "@kbn/global-search-bar-plugin": "link:x-pack/platform/plugins/private/global_search_bar", diff --git a/tsconfig.base.json b/tsconfig.base.json index aabbc9be99576..9f4f4615d4c07 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -50,8 +50,8 @@ "@kbn/alerting-comparators/*": ["x-pack/platform/packages/shared/kbn-alerting-comparators/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], "@kbn/alerting-example-plugin/*": ["x-pack/examples/alerting_example/*"], - "@kbn/alerting-fixture-plugin": ["x-pack/test/functional_with_es_ssl/plugins/alerts"], - "@kbn/alerting-fixture-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/alerts/*"], + "@kbn/alerting-fixture-plugin": ["x-pack/platform/test/functional_with_es_ssl/plugins/alerts"], + "@kbn/alerting-fixture-plugin/*": ["x-pack/platform/test/functional_with_es_ssl/plugins/alerts/*"], "@kbn/alerting-plugin": ["x-pack/platform/plugins/shared/alerting"], "@kbn/alerting-plugin/*": ["x-pack/platform/plugins/shared/alerting/*"], "@kbn/alerting-rule-utils": ["x-pack/platform/packages/shared/alerting-rule-utils"], @@ -1020,8 +1020,8 @@ "@kbn/ftr-common-functional-ui-services/*": ["src/platform/packages/shared/kbn-ftr-common-functional-ui-services/*"], "@kbn/ftr-screenshot-filename": ["src/platform/packages/private/kbn-ftr-screenshot-filename"], "@kbn/ftr-screenshot-filename/*": ["src/platform/packages/private/kbn-ftr-screenshot-filename/*"], - "@kbn/functional-with-es-ssl-cases-test-plugin": ["x-pack/test/functional_with_es_ssl/plugins/cases"], - "@kbn/functional-with-es-ssl-cases-test-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/cases/*"], + "@kbn/functional-with-es-ssl-cases-test-plugin": ["x-pack/platform/test/functional_with_es_ssl/plugins/cases"], + "@kbn/functional-with-es-ssl-cases-test-plugin/*": ["x-pack/platform/test/functional_with_es_ssl/plugins/cases/*"], "@kbn/gen-ai-functional-testing": ["src/platform/packages/private/kbn-gen-ai-functional-testing"], "@kbn/gen-ai-functional-testing/*": ["src/platform/packages/private/kbn-gen-ai-functional-testing/*"], "@kbn/gen-ai-streaming-response-example-plugin": ["x-pack/examples/gen_ai_streaming_response_example"], diff --git a/x-pack/platform/plugins/shared/ml/readme.md b/x-pack/platform/plugins/shared/ml/readme.md index eda83a0fb96de..68d30c72fc6ec 100644 --- a/x-pack/platform/plugins/shared/ml/readme.md +++ b/x-pack/platform/plugins/shared/ml/readme.md @@ -115,41 +115,41 @@ With PATH_TO_CONFIG and other options as follows. 1. Functional UI tests with `Trial` license: - Group | PATH_TO_CONFIG - ----- | -------------- - anomaly detection jobs | `src/platform/test/functional/apps/ml/anomaly_detection_jobs/config.ts` - anomaly detection result views | `src/platform/test/functional/apps/ml/anomaly_detection_result_views/config.ts` - anomaly detection integrations | `src/platform/test/functional/apps/ml/anomaly_detection_integrations/config.ts` - data frame analytics | `src/platform/test/functional/apps/ml/data_frame_analytics/config.ts` - data visualizer | `src/platform/test/functional/apps/ml/data_visualizer/config.ts` - permissions | `src/platform/test/functional/apps/ml/permissions/config.ts` - stack management jobs | `src/platform/test/functional/apps/ml/stack_management_jobs/config.ts` - short tests | `src/platform/test/functional/apps/ml/short_tests/config.ts` + | Group | PATH_TO_CONFIG | + | ------------------------------ | ------------------------------------------------------------------------------- | + | anomaly detection jobs | `src/platform/test/functional/apps/ml/anomaly_detection_jobs/config.ts` | + | anomaly detection result views | `src/platform/test/functional/apps/ml/anomaly_detection_result_views/config.ts` | + | anomaly detection integrations | `src/platform/test/functional/apps/ml/anomaly_detection_integrations/config.ts` | + | data frame analytics | `src/platform/test/functional/apps/ml/data_frame_analytics/config.ts` | + | data visualizer | `src/platform/test/functional/apps/ml/data_visualizer/config.ts` | + | permissions | `src/platform/test/functional/apps/ml/permissions/config.ts` | + | stack management jobs | `src/platform/test/functional/apps/ml/stack_management_jobs/config.ts` | + | short tests | `src/platform/test/functional/apps/ml/short_tests/config.ts` | - The `short tests` group contains tests for page navigation, model management, - feature controls, settings and notifications. Test files for each group are located - in the directory of their configuration file. + The `short tests` group contains tests for page navigation, model management, + feature controls, settings and notifications. Test files for each group are located + in the directory of their configuration file. -1. Functional UI tests with `Basic` license: +1. Functional UI tests with `Basic` license: - Group | PATH_TO_CONFIG - ----- | -------------- - permissions | `test/functional_basic/apps/ml/permissions/config.ts` - data visualizer group1 (file data viz) | `test/functional_basic/apps/ml/data_visualizer/group3/config.ts` - data visualizer group2 (index data viz) | `test/functional_basic/apps/ml/data_visualizer/group2/config.ts` - data visualizer group3 (actions panel, discover grid) | `test/functional_basic/apps/ml/data_visualizer/group3/config.ts` + | Group | PATH_TO_CONFIG | + | ----------------------------------------------------- | ---------------------------------------------------------------- | + | permissions | `test/functional_basic/apps/ml/permissions/config.ts` | + | data visualizer group1 (file data viz) | `test/functional_basic/apps/ml/data_visualizer/group3/config.ts` | + | data visualizer group2 (index data viz) | `test/functional_basic/apps/ml/data_visualizer/group2/config.ts` | + | data visualizer group3 (actions panel, discover grid) | `test/functional_basic/apps/ml/data_visualizer/group3/config.ts` | -1. API integration tests with `Trial` license: +1. API integration tests with `Trial` license: - - PATH_TO_CONFIG: `src/platform/test/api_integration/apis/ml/config.ts` + - PATH_TO_CONFIG: `x-pack/platform/test/api_integration/apis/ml/config.ts` -1. Accessibility tests: +1. Accessibility tests: - We maintain a suite of accessibility tests (you may see them referred to elsewhere as `a11y` tests). These tests render each of our pages and ensure that the inputs and other elements contain the attributes necessary to ensure all users are able to make use of ML (for example, users relying on screen readers). + We maintain a suite of accessibility tests (you may see them referred to elsewhere as `a11y` tests). These tests render each of our pages and ensure that the inputs and other elements contain the attributes necessary to ensure all users are able to make use of ML (for example, users relying on screen readers). - - PATH_TO_CONFIG: `src/platform/test/accessibility/config.ts` - - Add `--grep=ml` to the test runner command - - Tests are located in `x-pack/test/accessibility/apps/group2` + - PATH_TO_CONFIG: `src/platform/test/accessibility/config.ts` + - Add `--grep=ml` to the test runner command + - Tests are located in `x-pack/test/accessibility/apps/group2` ## Generating docs screenshots @@ -164,7 +164,7 @@ and Kibana instance that the tests will be run against. node scripts/functional_test_runner.js --config test/screenshot_creation/config.ts --include-tag ml The generated screenshots are stored in `x-pack/test/functional/screenshots/session/ml_docs`. -ML screenshot generation tests are located in `x-pack/test/screenshot_creation/apps/ml_docs`. +ML screenshot generation tests are located in `x-pack/platform/test/screenshot_creation/apps/ml_docs`. ## Shared functions diff --git a/x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts b/x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts new file mode 100644 index 0000000000000..88bd2f615fc46 --- /dev/null +++ b/x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts @@ -0,0 +1,32 @@ +/* + * 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 url from 'url'; +import { kbnTestConfig } from '@kbn/test'; +import { ApmSynthtraceKibanaClient, createLogger, LogLevel } from '@kbn/apm-synthtrace'; + +const getKibanaServerUrlWithAuth = () => { + const kibanaServerUrl = url.format(kbnTestConfig.getUrlParts() as url.UrlObject); + + const { username, password } = kbnTestConfig.getUrlParts(); + const kibanaServerUrlWithAuth = url + .format({ + ...url.parse(kibanaServerUrl), + auth: `${username}:${password}`, + }) + .slice(0, -1); + return kibanaServerUrlWithAuth; +}; +export function ApmSynthtraceKibanaClientProvider() { + const kibanaServerUrlWithAuth = getKibanaServerUrlWithAuth(); + const kibanaClient = new ApmSynthtraceKibanaClient({ + target: kibanaServerUrlWithAuth, + logger: createLogger(LogLevel.debug), + }); + + return kibanaClient; +} diff --git a/x-pack/platform/test/api_integration/services/index.ts b/x-pack/platform/test/api_integration/services/index.ts index d098bc75dee98..308a82b08ad69 100644 --- a/x-pack/platform/test/api_integration/services/index.ts +++ b/x-pack/platform/test/api_integration/services/index.ts @@ -19,6 +19,7 @@ import { TransformProvider } from './transform'; import { IndexManagementProvider } from './index_management'; import { AlertingApiProvider } from './alerting_api'; import { MachineLearningProvider } from './ml'; +import { ApmSynthtraceKibanaClientProvider } from './apm_synthtrace_kibana_client'; export const services = { ...kibanaApiIntegrationServices, @@ -34,4 +35,5 @@ export const services = { spaces: SpacesServiceProvider, transform: TransformProvider, usageAPI: UsageAPIProvider, + apmSynthtraceKibanaClient: ApmSynthtraceKibanaClientProvider, }; diff --git a/x-pack/test/functional/apps/aiops/change_point_detection.ts b/x-pack/platform/test/functional/apps/aiops/change_point_detection.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/change_point_detection.ts rename to x-pack/platform/test/functional/apps/aiops/change_point_detection.ts diff --git a/x-pack/test/functional/apps/aiops/change_point_detection_cases.ts b/x-pack/platform/test/functional/apps/aiops/change_point_detection_cases.ts similarity index 97% rename from x-pack/test/functional/apps/aiops/change_point_detection_cases.ts rename to x-pack/platform/test/functional/apps/aiops/change_point_detection_cases.ts index 5e2a9825ba0c3..3df1ae13904d4 100644 --- a/x-pack/test/functional/apps/aiops/change_point_detection_cases.ts +++ b/x-pack/platform/test/functional/apps/aiops/change_point_detection_cases.ts @@ -6,7 +6,7 @@ */ import { FtrProviderContext } from '../../ftr_provider_context'; -import { USER } from '../../services/ml/security_common'; +import { USER } from '../../../api_integration/services/ml/security_common'; export default function ({ getPageObjects, getService }: FtrProviderContext) { const elasticChart = getService('elasticChart'); diff --git a/x-pack/test/functional/apps/aiops/change_point_detection_dashboard.ts b/x-pack/platform/test/functional/apps/aiops/change_point_detection_dashboard.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/change_point_detection_dashboard.ts rename to x-pack/platform/test/functional/apps/aiops/change_point_detection_dashboard.ts diff --git a/x-pack/test/functional/apps/aiops/config.ts b/x-pack/platform/test/functional/apps/aiops/config.ts similarity index 96% rename from x-pack/test/functional/apps/aiops/config.ts rename to x-pack/platform/test/functional/apps/aiops/config.ts index 214d3712ecbf9..a8fd63c4f82e2 100644 --- a/x-pack/test/functional/apps/aiops/config.ts +++ b/x-pack/platform/test/functional/apps/aiops/config.ts @@ -8,7 +8,7 @@ import { FtrConfigProviderContext } from '@kbn/test'; export default async function ({ readConfigFile }: FtrConfigProviderContext) { - const functionalConfig = await readConfigFile(require.resolve('../../config.base.js')); + const functionalConfig = await readConfigFile(require.resolve('../../config.base.ts')); return { ...functionalConfig.getAll(), diff --git a/x-pack/test/functional/apps/aiops/index.ts b/x-pack/platform/test/functional/apps/aiops/index.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/index.ts rename to x-pack/platform/test/functional/apps/aiops/index.ts diff --git a/x-pack/test/functional/apps/aiops/log_pattern_analysis.ts b/x-pack/platform/test/functional/apps/aiops/log_pattern_analysis.ts similarity index 98% rename from x-pack/test/functional/apps/aiops/log_pattern_analysis.ts rename to x-pack/platform/test/functional/apps/aiops/log_pattern_analysis.ts index 1a7a38a8ba72e..633407fc8d8b4 100644 --- a/x-pack/test/functional/apps/aiops/log_pattern_analysis.ts +++ b/x-pack/platform/test/functional/apps/aiops/log_pattern_analysis.ts @@ -6,7 +6,7 @@ */ import { FtrProviderContext } from '../../ftr_provider_context'; -import { USER } from '../../services/ml/security_common'; +import { USER } from '../../../api_integration/services/ml/security_common'; export default function ({ getPageObjects, getService }: FtrProviderContext) { const elasticChart = getService('elasticChart'); diff --git a/x-pack/test/functional/apps/aiops/log_pattern_analysis_esql_in_discover.ts b/x-pack/platform/test/functional/apps/aiops/log_pattern_analysis_esql_in_discover.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_pattern_analysis_esql_in_discover.ts rename to x-pack/platform/test/functional/apps/aiops/log_pattern_analysis_esql_in_discover.ts diff --git a/x-pack/test/functional/apps/aiops/log_pattern_analysis_in_discover.ts b/x-pack/platform/test/functional/apps/aiops/log_pattern_analysis_in_discover.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_pattern_analysis_in_discover.ts rename to x-pack/platform/test/functional/apps/aiops/log_pattern_analysis_in_discover.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_textfield_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_groups_table_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_textfield_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/analysis_table_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_textfield_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_zerodocsfallback.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_zerodocsfallback.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_zerodocsfallback.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/filtered_analysis_groups_table_zerodocsfallback.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/artificial_log_data_view_test_data.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/artificial_log_data_view_test_data.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/artificial_log_data_view_test_data.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/artificial_log_data_view_test_data.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data_with_query.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data_with_query.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data_with_query.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/farequote_data_view_test_data_with_query.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/kibana_logs_data_view_test_data.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/kibana_logs_data_view_test_data.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/kibana_logs_data_view_test_data.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis/test_data/kibana_logs_data_view_test_data.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis_anomaly_table.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis_anomaly_table.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis_anomaly_table.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis_anomaly_table.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis_cases.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis_cases.ts similarity index 97% rename from x-pack/test/functional/apps/aiops/log_rate_analysis_cases.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis_cases.ts index 07c632ea7df0d..438222884f284 100644 --- a/x-pack/test/functional/apps/aiops/log_rate_analysis_cases.ts +++ b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis_cases.ts @@ -6,7 +6,7 @@ */ import { FtrProviderContext } from '../../ftr_provider_context'; -import { USER } from '../../services/ml/security_common'; +import { USER } from '../../../api_integration/services/ml/security_common'; import { logRateAnalysisTestData } from './log_rate_analysis_test_data'; export default function ({ getPageObjects, getService }: FtrProviderContext) { diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis_dashboard_embeddable.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis_dashboard_embeddable.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis_dashboard_embeddable.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis_dashboard_embeddable.ts diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis_test_data.ts b/x-pack/platform/test/functional/apps/aiops/log_rate_analysis_test_data.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/log_rate_analysis_test_data.ts rename to x-pack/platform/test/functional/apps/aiops/log_rate_analysis_test_data.ts diff --git a/x-pack/test/functional/apps/aiops/types.ts b/x-pack/platform/test/functional/apps/aiops/types.ts similarity index 100% rename from x-pack/test/functional/apps/aiops/types.ts rename to x-pack/platform/test/functional/apps/aiops/types.ts diff --git a/x-pack/platform/test/functional/page_objects/index.ts b/x-pack/platform/test/functional/page_objects/index.ts index bbea3d5cf5253..78a6e871e59ee 100644 --- a/x-pack/platform/test/functional/page_objects/index.ts +++ b/x-pack/platform/test/functional/page_objects/index.ts @@ -22,6 +22,7 @@ import { UpgradeAssistantFlyoutObject } from './upgrade_assistant_page'; import { UserProfilePageProvider } from './user_profile_page'; import { SearchSessionsPageProvider } from './search_sessions_management_page'; import { GraphPageObject } from './graph_page'; +import { MaintenanceWindowsPageProvider } from './maintenance_windows_page'; // just like services, PageObjects are defined as a map of // names to Providers. Merge in Kibana's or pick specific ones @@ -43,4 +44,5 @@ export const pageObjects = { searchSessionsManagement: SearchSessionsPageProvider, upgradeAssistant: UpgradeAssistantFlyoutObject, userProfiles: UserProfilePageProvider, + maintenanceWindows: MaintenanceWindowsPageProvider, }; diff --git a/x-pack/test/functional/page_objects/maintenance_windows_page.ts b/x-pack/platform/test/functional/page_objects/maintenance_windows_page.ts similarity index 100% rename from x-pack/test/functional/page_objects/maintenance_windows_page.ts rename to x-pack/platform/test/functional/page_objects/maintenance_windows_page.ts 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..2901e31dbfc44 100644 --- a/x-pack/platform/test/functional/services/index.ts +++ b/x-pack/platform/test/functional/services/index.ts @@ -13,20 +13,35 @@ import { AceEditorProvider } from './ace_editor'; import { SampleDataServiceProvider } from './sample_data'; import { GrokDebuggerProvider } from './grok_debugger'; import { SearchSessionsService } from './search_sessions'; +import { CasesServiceProvider } from './cases'; +import { ActionsServiceProvider } from './actions'; +import { AiopsProvider } from './aiops'; +import { RulesServiceProvider } from './rules'; +import { CanvasElementProvider } from './canvas_element'; +import { MachineLearningProvider } from './ml'; +import { TransformProvider } from './transform'; // define the name and providers for services that should be // available to your tests. If you don't specify anything here // only the built-in services will be available export const services = { ...kibanaFunctionalServices, + actions: ActionsServiceProvider, + aiops: AiopsProvider, + canvasElement: CanvasElementProvider, + cases: CasesServiceProvider, supertest: kibanaApiIntegrationServices.supertest, supertestWithoutAuth: kibanaXPackApiIntegrationServices.supertestWithoutAuth, esSupertest: kibanaApiIntegrationServices.esSupertest, dataViewApi: kibanaXPackApiIntegrationServices.dataViewApi, spaces: kibanaXPackApiIntegrationServices.spaces, + apmSynthtraceKibanaClient: kibanaXPackApiIntegrationServices.apmSynthtraceKibanaClient, userMenu: UserMenuProvider, aceEditor: AceEditorProvider, + rules: RulesServiceProvider, sampleData: SampleDataServiceProvider, grokDebugger: GrokDebuggerProvider, searchSessions: SearchSessionsService, + ml: MachineLearningProvider, + transform: TransformProvider, }; 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 index 7f9cc1a7e7b03..cc2b572ad7eb9 100644 --- a/x-pack/test/functional/services/ml/anomaly_explorer.ts +++ b/x-pack/platform/test/functional/services/ml/anomaly_explorer.ts @@ -8,8 +8,8 @@ import expect from '@kbn/expect'; import type { SwimlaneType } from '@kbn/ml-plugin/public/application/explorer/explorer_constants'; -import { FtrProviderContext } from '../../ftr_provider_context'; import type { CreateCaseParams } from '../cases/create'; +import { FtrProviderContext } from '../../ftr_provider_context'; import { MlAnomalyCharts } from './anomaly_charts'; export function MachineLearningAnomalyExplorerProvider( 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/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/test/functional_with_es_ssl/apps/cases/basic/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/basic/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/basic/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/basic/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/basic/list_view.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/list_view.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/basic/list_view.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/basic/list_view.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/common/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/common/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/common/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/common/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/common/roles.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/common/roles.ts similarity index 95% rename from x-pack/test/functional_with_es_ssl/apps/cases/common/roles.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/common/roles.ts index f3085399ddba1..8ea678f386de5 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/common/roles.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/common/roles.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { Role } from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication/types'; +import { Role } from '../../../../cases_api_integration/common/lib/authentication/types'; /** * Roles for Cases in the stack diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/common/users.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/common/users.ts similarity index 91% rename from x-pack/test/functional_with_es_ssl/apps/cases/common/users.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/common/users.ts index 6a3fd4239ca7c..8964f414662fc 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/common/users.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/common/users.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { User } from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication/types'; +import { User } from '../../../../cases_api_integration/common/lib/authentication/types'; import { casesAll, casesNoDelete, casesReadDelete, casesReadAndEditSettings } from './roles'; /** diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts similarity index 98% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts index dcd7b5c754036..935a5635fd6ff 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts @@ -11,7 +11,7 @@ import { CaseSeverity, CustomFieldTypes } from '@kbn/cases-plugin/common/types/d import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { users, roles, casesAllUser, casesAllUser2 } from '../common'; diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/elastic_logo.png b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/elastic_logo.png similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/elastic_logo.png rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/elastic_logo.png diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts similarity index 98% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts index b8ca9583fc444..c6b1ee2e2570b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/sub_privileges.ts @@ -9,7 +9,7 @@ import expect from '@kbn/expect'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { users, diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/view_case.ts similarity index 99% rename from x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/view_case.ts index ec0f986ce1927..111b9e51cce74 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group1/view_case.ts @@ -18,7 +18,7 @@ import { setTimeout as setTimeoutAsync } from 'timers/promises'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { users, roles, casesAllUser, casesAllUser2 } from '../common'; diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts similarity index 98% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts index bd1769f6e73ce..e25408cbaa07c 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts @@ -16,11 +16,7 @@ import { } from '@kbn/cases-plugin/common/types/domain'; import { expect } from 'expect'; import { AttachmentRequest } from '@kbn/cases-plugin/common/types/api'; -import { - deleteAllCaseItems, - findCases, - getCase, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/api'; +import { deleteAllCaseItems, findCases } from '../../../../cases_api_integration/common/lib/api'; import { FtrProviderContext } from '../../../ftr_provider_context'; const ADD_TO_EXISTING_CASE_DATA_TEST_SUBJ = 'embeddablePanelAction-embeddable_addToExistingCase'; @@ -92,7 +88,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { /** * Attachment types are being registered in - * x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts + * x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/plugin.ts */ describe('Attachment framework', () => { describe('External reference attachments', () => { @@ -202,7 +198,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { }); /** - * The UI of the cases fixture plugin is in x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx + * The UI of the cases fixture plugin is in x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/application.tsx */ describe('Attachment hooks', () => { const TOTAL_OWNERS = ['cases', 'securitySolution', 'observability']; diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/configure.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/configure.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/configure.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/configure.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/list_view.ts similarity index 99% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/list_view.ts index 0eb5606c319d2..899edffda2e8c 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/list_view.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/list_view.ts @@ -16,7 +16,7 @@ import { UserProfile } from '@kbn/user-profile-components'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { users, roles, casesAllUser, casesAllUser2 } from '../common'; diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts similarity index 99% rename from x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts index c89345286c765..a88f8c617c0a3 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts @@ -9,7 +9,7 @@ import expect from '@kbn/expect'; import { getExternalServiceSimulatorPath, ExternalServiceSimulator, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default ({ getPageObject, getService }: FtrProviderContext) => { diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts similarity index 84% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts index fc51ae51a2be7..464af69aa7f8d 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts @@ -20,13 +20,9 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--uiSettings.overrides.observability:enableLegacyUptimeApp=true', ], }, - testFiles: [ - resolve(__dirname, './discover'), - resolve(__dirname, './uptime'), - resolve(__dirname, './ml'), - ], + testFiles: [resolve(__dirname, './discover'), resolve(__dirname, './ml')], junit: { - reportName: 'Chrome X-Pack UI Functional Tests with ES SSL - Discover, Uptime, ML', + reportName: 'Chrome X-Pack UI Functional Tests with ES SSL - Discover, ML', }, }; } diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover/search_source_alert.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover/search_source_alert.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/alert_flyout.ts b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/alert_flyout.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/alert_flyout.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/alert_flyout.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/ml/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts b/x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/embeddable_alerts_table.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/embeddable_alerts_table/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/embeddable_alerts_table/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts similarity index 99% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts index 7496381f65214..bbb888d83913b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout.ts @@ -10,7 +10,7 @@ import { asyncForEach } from '@kbn/std'; import { omit } from 'lodash'; import { apm, timerange } from '@kbn/apm-synthtrace-client'; import { ApmSynthtraceEsClient } from '@kbn/apm-synthtrace'; -import { getApmSynthtraceEsClient } from '../../../common/utils/synthtrace/apm_es_client'; +import { getApmSynthtraceEsClient } from '../../lib/apm_es_client'; import { FtrProviderContext } from '../../ftr_provider_context'; import { generateUniqueKey } from '../../lib/get_test_data'; diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts similarity index 97% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts index 90e4cd68cdeb0..b82cbd5e52a62 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_deletion.ts @@ -21,7 +21,7 @@ import { inactiveSecurityAlertsOlderThan90, inactiveStackAlertsNewerThan90, inactiveStackAlertsOlderThan90, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/security_and_spaces/group2/tests/alerting/alert_deletion/alert_deletion_test_utils'; +} from '../../../alerting_api_integration/security_and_spaces/group2/tests/alerting/alert_deletion/alert_deletion_test_utils'; import { FtrProviderContext } from '../../ftr_provider_context'; import { ObjectRemover } from '../../lib/object_remover'; diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/general.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/general.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/general.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/general.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/jira.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/jira.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/jira.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/jira.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/opsgenie.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/opsgenie.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/opsgenie.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/opsgenie.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/slack.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts similarity index 98% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts index 1efd8262ecd4b..e990582d2630b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/tines.ts @@ -9,11 +9,11 @@ import expect from '@kbn/expect'; import { tinesAgentWebhook, tinesStory1, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { ExternalServiceSimulator, getExternalServiceSimulatorPath, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { ObjectRemover } from '../../../lib/object_remover'; import { generateUniqueKey } from '../../../lib/get_test_data'; diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/utils.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/utils.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/utils.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/utils.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/webhook.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/webhook.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/webhook.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/webhook_disabled_ssl_pfx/webhook.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/email.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/email.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/email.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/email.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts similarity index 72% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts index a495a27fc7229..e0fe99620cdb0 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_aws_ses_kbn_config/index.ts @@ -5,11 +5,11 @@ * 2.0. */ -import type { FtrProviderContext } from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/ftr_provider_context'; +import type { FtrProviderContext } from '../../../../../alerting_api_integration/common/ftr_provider_context'; import { buildUp, tearDown, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/spaces_only/tests/helpers'; +} from '../../../../../alerting_api_integration/spaces_only/tests/helpers'; export default function actionsTests({ loadTestFile, getService }: FtrProviderContext) { describe('Connectors with AWS SES Kibana config', () => { diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/email.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/email.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/email.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/email.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts similarity index 72% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts index 2918bddabb716..202d434d2e304 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/connectors/with_email_services_enabled_kbn_config/index.ts @@ -5,11 +5,11 @@ * 2.0. */ -import type { FtrProviderContext } from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/ftr_provider_context'; +import type { FtrProviderContext } from '../../../../../alerting_api_integration/common/ftr_provider_context'; import { buildUp, tearDown, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/spaces_only/tests/helpers'; +} from '../../../../../alerting_api_integration/spaces_only/tests/helpers'; export default function actionsTests({ loadTestFile, getService }: FtrProviderContext) { describe('Connectors with email services enabled Kibana config', () => { diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/email.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/email.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/email.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/email.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/home_page.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/home_page.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/home_page.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/home_page.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts similarity index 93% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts index ff6e1b4249955..3324b392990ad 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/logs_list.ts @@ -6,14 +6,11 @@ */ import expect from '@kbn/expect'; -import { - Role, - User, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication/types'; +import { Role, User } from '../../../cases_api_integration/common/lib/authentication/types'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../ftr_provider_context'; const SPACE2 = { diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/index.ts diff --git a/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts new file mode 100644 index 0000000000000..78e595d053585 --- /dev/null +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts @@ -0,0 +1,96 @@ +/* + * 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 expect from '@kbn/expect'; +import { FtrProviderContext } from '../../../ftr_provider_context'; +import { ObjectRemover } from '../../../lib/object_remover'; + +export default ({ getPageObjects, getService }: FtrProviderContext) => { + const testSubjects = getService('testSubjects'); + const supertest = getService('supertest'); + const pageObjects = getPageObjects(['common', 'header']); + const retry = getService('retry'); + const toasts = getService('toasts'); + const objectRemover = new ObjectRemover(supertest); + + describe('Maintenance window create form', () => { + beforeEach(async () => { + await pageObjects.common.navigateToApp('maintenanceWindows'); + }); + + after(async () => { + const { body } = await supertest.get('/internal/alerting/rules/maintenance_window/_find'); + + body?.data?.forEach((mw: { id: string }) => { + objectRemover.add(mw.id, 'rules/maintenance_window', 'alerting', true); + }); + + await objectRemover.removeAll(); + }); + + it('should create a maintenance window', async () => { + await pageObjects.header.waitUntilLoadingHasFinished(); + + await testSubjects.click('mw-create-button'); + + await retry.try(async () => { + await testSubjects.existOrFail('createMaintenanceWindowForm'); + }); + + const nameInput = await testSubjects.find('createMaintenanceWindowFormNameInput'); + + await nameInput.click(); + await nameInput.type('Test Maintenance Window'); + + // Turn on repeat + await (await testSubjects.find('createMaintenanceWindowRepeatSwitch')).click(); + + await retry.try(async () => { + await testSubjects.existOrFail('recurringScheduleRepeatSelect'); + }); + + // Open the repeat dropdown select + await (await testSubjects.find('recurringScheduleRepeatSelect')).click(); + // Select custom + await (await testSubjects.find('recurringScheduleOptionCustom')).click(); + + await retry.try(async () => { + await testSubjects.existOrFail('customRecurringScheduleFrequencySelect'); + }); + + // Change interval to 2 + const intervalInput = await testSubjects.find('customRecurringScheduleIntervalInput'); + + await intervalInput.click(); + await intervalInput.type('2'); + + // Open "every" frequency dropdown + await (await testSubjects.find('customRecurringScheduleFrequencySelect')).click(); + // Select daily + await (await testSubjects.find('customFrequencyDaily')).click(); + // Click on "End -> after {X}" + await (await testSubjects.find('recurrenceEndOptionAfterX')).click(); + + await retry.try(async () => { + await testSubjects.existOrFail('count-field'); + }); + + const afterXOccurenceInput = await testSubjects.find('recurringScheduleAfterXOccurenceInput'); + + await afterXOccurenceInput.click(); + await afterXOccurenceInput.clearValue(); + await afterXOccurenceInput.type('5'); + + await (await testSubjects.find('create-submit')).click(); + + await retry.try(async () => { + const toastTitle = await toasts.getTitleAndDismiss(); + expect(toastTitle).to.eql(`Created maintenance window 'Test Maintenance Window'`); + }); + }); + }); +}; diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_update_form.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_update_form.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_update_form.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_update_form.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_windows_table.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/utils.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/utils.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/utils.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/utils.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/bulk_actions.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/bulk_actions.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/bulk_actions.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/bulk_actions.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/rules_list.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/rules_list.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/rules_list.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_list/rules_list.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_settings.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_settings.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_settings.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/rules_settings.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/config.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts similarity index 96% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts index 58b89ba876c6f..865d5d1c8258b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/global_rule_event_log_list.ts @@ -7,15 +7,12 @@ import expect from '@kbn/expect'; import { asyncForEach } from '@kbn/std'; -import { getUrlPrefix } from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib'; -import { - Role, - User, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication/types'; +import { getUrlPrefix } from '../../../../alerting_api_integration/common/lib'; +import { Role, User } from '../../../../cases_api_integration/common/lib/authentication/types'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/authentication'; +} from '../../../../cases_api_integration/common/lib/authentication'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { getTestAlertData } from '../../../lib/get_test_data'; diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/index.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/index.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/shared/index.ts diff --git a/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/stack_alerts_page.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/stack_alerts_page.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/stack_alerts_page.ts rename to x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/stack_alerts_page.ts diff --git a/x-pack/test/functional_with_es_ssl/config.base.ts b/x-pack/platform/test/functional_with_es_ssl/config.base.ts similarity index 94% rename from x-pack/test/functional_with_es_ssl/config.base.ts rename to x-pack/platform/test/functional_with_es_ssl/config.base.ts index 81f530b28f7dc..ca763af19bc13 100644 --- a/x-pack/test/functional_with_es_ssl/config.base.ts +++ b/x-pack/platform/test/functional_with_es_ssl/config.base.ts @@ -9,7 +9,7 @@ import Fs from 'fs'; import { join } from 'path'; import { CA_CERT_PATH } from '@kbn/dev-utils'; import { FtrConfigProviderContext } from '@kbn/test'; -import { getAllExternalServiceSimulatorPaths } from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +import { getAllExternalServiceSimulatorPaths } from '../alerting_api_integration/common/lib/actions_simulations_utils'; import { pageObjects } from './page_objects'; // .server-log is specifically not enabled @@ -36,7 +36,7 @@ const enabledActionTypes = [ export default async function ({ readConfigFile }: FtrConfigProviderContext) { const xpackFunctionalConfig = await readConfigFile( - require.resolve('../functional/config.base.js') + require.resolve('../functional/config.base.ts') ); const servers = { @@ -79,7 +79,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { `--plugin-path=${join(__dirname, 'plugins/cases')}`, `--plugin-path=${join( __dirname, - '../../platform/test/alerting_api_integration/common/plugins/actions_simulators' + '../alerting_api_integration/common/plugins/actions_simulators' )}`, `--xpack.trigger_actions_ui.enableExperimental=${JSON.stringify([ 'stackAlertsPage', diff --git a/x-pack/test/functional_with_es_ssl/ftr_provider_context.d.ts b/x-pack/platform/test/functional_with_es_ssl/ftr_provider_context.d.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/ftr_provider_context.d.ts rename to x-pack/platform/test/functional_with_es_ssl/ftr_provider_context.d.ts diff --git a/x-pack/test/functional_with_es_ssl/lib/alert_api_actions.ts b/x-pack/platform/test/functional_with_es_ssl/lib/alert_api_actions.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/lib/alert_api_actions.ts rename to x-pack/platform/test/functional_with_es_ssl/lib/alert_api_actions.ts diff --git a/x-pack/platform/test/functional_with_es_ssl/lib/apm_es_client.ts b/x-pack/platform/test/functional_with_es_ssl/lib/apm_es_client.ts new file mode 100644 index 0000000000000..932b55cafd056 --- /dev/null +++ b/x-pack/platform/test/functional_with_es_ssl/lib/apm_es_client.ts @@ -0,0 +1,26 @@ +/* + * 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 { Client } from '@elastic/elasticsearch'; +import { ApmSynthtraceEsClient, createLogger, LogLevel } from '@kbn/apm-synthtrace'; + +interface GetApmSynthtraceEsClientParams { + client: Client; + packageVersion: string; +} + +export function getApmSynthtraceEsClient({ + client, + packageVersion, +}: GetApmSynthtraceEsClientParams) { + return new ApmSynthtraceEsClient({ + client, + logger: createLogger(LogLevel.info), + version: packageVersion, + refreshAfterIndex: true, + }); +} diff --git a/x-pack/test/functional_with_es_ssl/lib/get_test_data.ts b/x-pack/platform/test/functional_with_es_ssl/lib/get_test_data.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/lib/get_test_data.ts rename to x-pack/platform/test/functional_with_es_ssl/lib/get_test_data.ts diff --git a/x-pack/test/functional_with_es_ssl/lib/object_remover.ts b/x-pack/platform/test/functional_with_es_ssl/lib/object_remover.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/lib/object_remover.ts rename to x-pack/platform/test/functional_with_es_ssl/lib/object_remover.ts diff --git a/x-pack/test/functional_with_es_ssl/page_objects/index.ts b/x-pack/platform/test/functional_with_es_ssl/page_objects/index.ts similarity index 79% rename from x-pack/test/functional_with_es_ssl/page_objects/index.ts rename to x-pack/platform/test/functional_with_es_ssl/page_objects/index.ts index 78a55a2d4f458..12438e9d8481a 100644 --- a/x-pack/test/functional_with_es_ssl/page_objects/index.ts +++ b/x-pack/platform/test/functional_with_es_ssl/page_objects/index.ts @@ -5,12 +5,12 @@ * 2.0. */ -import { pageObjects as xpackFunctionalPageObjects } from '../../functional/page_objects'; +import { pageObjects as platformFunctionalPageObjects } from '../../functional/page_objects'; import { TriggersActionsPageProvider } from './triggers_actions_ui_page'; import { RuleDetailsPageProvider } from './rule_details'; export const pageObjects = { - ...xpackFunctionalPageObjects, + ...platformFunctionalPageObjects, triggersActionsUI: TriggersActionsPageProvider, ruleDetailsUI: RuleDetailsPageProvider, }; diff --git a/x-pack/test/functional_with_es_ssl/page_objects/rule_details.ts b/x-pack/platform/test/functional_with_es_ssl/page_objects/rule_details.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/page_objects/rule_details.ts rename to x-pack/platform/test/functional_with_es_ssl/page_objects/rule_details.ts diff --git a/x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts b/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts rename to x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/kibana.jsonc b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/kibana.jsonc similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/kibana.jsonc rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/kibana.jsonc diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/package.json b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/package.json similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/package.json rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/package.json diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/public/application.tsx b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/application.tsx similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/public/application.tsx rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/application.tsx diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/public/index.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/public/index.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/index.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/public/plugin.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/plugin.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/public/plugin.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/public/plugin.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/server/index.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/server/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/server/index.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/server/index.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/server/plugin.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/server/plugin.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/server/plugin.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/server/plugin.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/alerts/tsconfig.json b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/tsconfig.json similarity index 87% rename from x-pack/test/functional_with_es_ssl/plugins/alerts/tsconfig.json rename to x-pack/platform/test/functional_with_es_ssl/plugins/alerts/tsconfig.json index e42ac17f305f3..fd7ae8469be9f 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/alerts/tsconfig.json +++ b/x-pack/platform/test/functional_with_es_ssl/plugins/alerts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/kibana.jsonc b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/kibana.jsonc similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/kibana.jsonc rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/kibana.jsonc diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/package.json b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/package.json similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/package.json rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/package.json diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/application.tsx similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/application.tsx diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/external_reference.tsx b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/external_reference.tsx similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/external_reference.tsx rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/external_reference.tsx diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/external_references_content.tsx b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/external_references_content.tsx similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/external_references_content.tsx rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/external_references_content.tsx diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/persistable_state.tsx b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/persistable_state.tsx similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/attachments/persistable_state.tsx rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/attachments/persistable_state.tsx diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/index.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/index.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/index.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/plugin.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/public/plugin.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/server/attachments/external_reference.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/attachments/external_reference.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/server/attachments/external_reference.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/attachments/external_reference.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/server/attachments/persistable_state.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/attachments/persistable_state.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/server/attachments/persistable_state.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/attachments/persistable_state.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/server/index.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/index.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/server/index.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/index.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/plugin.ts similarity index 100% rename from x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/server/plugin.ts diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/tsconfig.json b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/tsconfig.json similarity index 86% rename from x-pack/test/functional_with_es_ssl/plugins/cases/tsconfig.json rename to x-pack/platform/test/functional_with_es_ssl/plugins/cases/tsconfig.json index 0c412af65efe5..4d86c4b1f436f 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/cases/tsconfig.json +++ b/x-pack/platform/test/functional_with_es_ssl/plugins/cases/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/platform/test/screenshot_creation/apps/index.ts b/x-pack/platform/test/screenshot_creation/apps/index.ts new file mode 100644 index 0000000000000..763fe31c9d9e0 --- /dev/null +++ b/x-pack/platform/test/screenshot_creation/apps/index.ts @@ -0,0 +1,16 @@ +/* + * 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 { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ loadTestFile }: FtrProviderContext) { + describe('apps', function () { + loadTestFile(require.resolve('./ml_docs')); + loadTestFile(require.resolve('./response_ops_docs')); + loadTestFile(require.resolve('./transform_docs')); + }); +} diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/custom_urls.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/custom_urls.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/custom_urls.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/custom_urls.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/finding_anomalies.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/finding_anomalies.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/finding_anomalies.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/finding_anomalies.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/generate_anomaly_alerts.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/generate_anomaly_alerts.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/generate_anomaly_alerts.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/generate_anomaly_alerts.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/geographic_data.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/geographic_data.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/geographic_data.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/geographic_data.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/index.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/index.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/index.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/influencers.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/influencers.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/influencers.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/influencers.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/mapping_anomalies.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/mapping_anomalies.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/anomaly_detection/mapping_anomalies.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/anomaly_detection/mapping_anomalies.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/classification.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/classification.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/classification.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/classification.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/index.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/index.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/index.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/outlier_detection.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/outlier_detection.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/outlier_detection.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/outlier_detection.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/regression.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/regression.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/data_frame_analytics/regression.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/data_frame_analytics/regression.ts diff --git a/x-pack/test/screenshot_creation/apps/ml_docs/index.ts b/x-pack/platform/test/screenshot_creation/apps/ml_docs/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/ml_docs/index.ts rename to x-pack/platform/test/screenshot_creation/apps/ml_docs/index.ts diff --git a/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/index.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/index.ts new file mode 100644 index 0000000000000..a8fbc13282f14 --- /dev/null +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/index.ts @@ -0,0 +1,47 @@ +/* + * 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 { esTestConfig } from '@kbn/test'; +import { FtrProviderContext } from '../../ftr_provider_context'; + +export const ECOMMERCE_INDEX_PATTERN = 'kibana_sample_data_ecommerce'; +export const FLIGHTS_INDEX_PATTERN = 'kibana_sample_data_flights'; +export const LOGS_INDEX_PATTERN = 'kibana_sample_data_logs'; + +export default function ({ getPageObject, getService, loadTestFile }: FtrProviderContext) { + const browser = getService('browser'); + const ml = getService('ml'); + const sampleData = getService('sampleData'); + const securityPage = getPageObject('security'); + + describe('response ops docs', function () { + this.tags(['responseOps']); + + before(async () => { + await sampleData.testResources.installAllKibanaSampleData(); + await ml.testResources.setKibanaTimeZoneToUTC(); + await ml.testResources.disableKibanaAnnouncements(); + await browser.setWindowSize(1920, 1080); + await securityPage.login( + esTestConfig.getUrlParts().username, + esTestConfig.getUrlParts().password + ); + }); + + after(async () => { + await securityPage.forceLogout(); + await sampleData.testResources.removeAllKibanaSampleData(); + await ml.testResources.resetKibanaTimeZone(); + await ml.testResources.resetKibanaAnnouncements(); + }); + + loadTestFile(require.resolve('./stack_alerting')); + loadTestFile(require.resolve('./stack_cases')); + loadTestFile(require.resolve('./stack_connectors')); + loadTestFile(require.resolve('./maintenance_windows')); + }); +} diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/create_window.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/create_window.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/create_window.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/create_window.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/index.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/index.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/maintenance_windows/index.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/es_query_rule.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/es_query_rule.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/es_query_rule.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/es_query_rule.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index_threshold_rule.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index_threshold_rule.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index_threshold_rule.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/index_threshold_rule.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/list_view.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/list_view.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/list_view.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/list_view.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/tracking_containment_rule.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/tracking_containment_rule.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_alerting/tracking_containment_rule.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_alerting/tracking_containment_rule.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/details_view.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/details_view.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/details_view.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/details_view.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts similarity index 87% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts index de37610e0ecaf..e9ebb8e9b2bcf 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/index.ts @@ -6,8 +6,8 @@ */ import { AttachmentType } from '@kbn/cases-plugin/common/types/domain'; -import { createAndUploadFile } from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/api'; -import { CASES_FILE_KIND } from '@kbn/test-suites-xpack-platform/cases_api_integration/common/lib/constants'; +import { createAndUploadFile } from '../../../../cases_api_integration/common/lib/api'; +import { CASES_FILE_KIND } from '../../../../cases_api_integration/common/lib/constants'; import { FtrProviderContext } from '../../../ftr_provider_context'; export const caseTitle = 'Web transactions'; diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/settings.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/settings.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/settings.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_cases/settings.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/bedrock_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/bedrock_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/bedrock_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/bedrock_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/cases_webhook_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/cases_webhook_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/cases_webhook_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/cases_webhook_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/connectors.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/connectors.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/connectors.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/connectors.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts similarity index 95% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts index 9217c94cee73f..678d20aada795 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/crowdstrike_connector.ts @@ -8,7 +8,7 @@ import { ExternalServiceSimulator, getExternalServiceSimulatorPath, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/email_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/email_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/email_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/email_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/generative_ai_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/generative_ai_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/generative_ai_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/generative_ai_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts similarity index 96% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts index 017075136ba1b..51e4ec394e79d 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/ibm_resilient_connector.ts @@ -8,7 +8,7 @@ import { getExternalServiceSimulatorPath, ExternalServiceSimulator, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/index_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/jira_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/jira_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/jira_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/jira_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/microsoft_teams_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/microsoft_teams_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/microsoft_teams_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/microsoft_teams_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/opsgenie_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/opsgenie_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/opsgenie_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/opsgenie_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/pagerduty_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/pagerduty_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/pagerduty_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/pagerduty_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts similarity index 95% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts index b6933443b9d6b..63464fb50a743 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/sentinelone_connector.ts @@ -8,7 +8,7 @@ import { ExternalServiceSimulator, getExternalServiceSimulatorPath, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/server_log_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/server_log_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/server_log_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/server_log_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itom_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itom_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itom_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itom_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itsm_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itsm_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itsm_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_itsm_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_sir_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_sir_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_sir_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/servicenow_sir_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/slack_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/slack_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/slack_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/slack_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts similarity index 95% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts index d055ee4624242..60d6f6598914e 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/thehive_connector.ts @@ -8,7 +8,7 @@ import { ExternalServiceSimulator, getExternalServiceSimulatorPath, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts similarity index 95% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts index a123e4578107d..0cc455cd97b2f 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts +++ b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/tines_connector.ts @@ -8,7 +8,7 @@ import { ExternalServiceSimulator, getExternalServiceSimulatorPath, -} from '@kbn/test-suites-xpack-platform/alerting_api_integration/common/lib/actions_simulations_utils'; +} from '../../../../alerting_api_integration/common/lib/actions_simulations_utils'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/webhook_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/webhook_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/webhook_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/webhook_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/xmatters_connector.ts b/x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/xmatters_connector.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/response_ops_docs/stack_connectors/xmatters_connector.ts rename to x-pack/platform/test/screenshot_creation/apps/response_ops_docs/stack_connectors/xmatters_connector.ts diff --git a/x-pack/test/screenshot_creation/apps/transform_docs/index.ts b/x-pack/platform/test/screenshot_creation/apps/transform_docs/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/transform_docs/index.ts rename to x-pack/platform/test/screenshot_creation/apps/transform_docs/index.ts diff --git a/x-pack/test/screenshot_creation/apps/transform_docs/transform_alerts.ts b/x-pack/platform/test/screenshot_creation/apps/transform_docs/transform_alerts.ts similarity index 100% rename from x-pack/test/screenshot_creation/apps/transform_docs/transform_alerts.ts rename to x-pack/platform/test/screenshot_creation/apps/transform_docs/transform_alerts.ts diff --git a/x-pack/platform/test/screenshot_creation/config.ts b/x-pack/platform/test/screenshot_creation/config.ts new file mode 100644 index 0000000000000..cc2534e8a9e7e --- /dev/null +++ b/x-pack/platform/test/screenshot_creation/config.ts @@ -0,0 +1,53 @@ +/* + * 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 Fs from 'fs'; +import { CA_CERT_PATH } from '@kbn/dev-utils'; +import { FtrConfigProviderContext } from '@kbn/test'; +import { pageObjects } from './page_objects'; +import { services } from './services'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const xpackFunctionalConfig = await readConfigFile( + require.resolve('../functional/config.base.ts') + ); + + const servers = { + ...xpackFunctionalConfig.get('servers'), + elasticsearch: { + ...xpackFunctionalConfig.get('servers.elasticsearch'), + protocol: 'https', + certificateAuthorities: [Fs.readFileSync(CA_CERT_PATH)], + }, + }; + + return { + // default to the xpack functional config + ...xpackFunctionalConfig.getAll(), + servers, + pageObjects, + services, + testFiles: [require.resolve('./apps')], + junit: { + ...xpackFunctionalConfig.get('junit'), + reportName: 'Chrome X-Pack UI Screenshot Creation', + }, + esTestCluster: { + ...xpackFunctionalConfig.get('esTestCluster'), + ssl: true, + }, + kbnTestServer: { + ...xpackFunctionalConfig.get('kbnTestServer'), + serverArgs: [ + ...xpackFunctionalConfig.get('kbnTestServer.serverArgs'), + `--elasticsearch.hosts=https://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, + `--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`, + `--xpack.alerting.rules.minimumScheduleInterval.value="2s"`, + ], + }, + }; +} diff --git a/x-pack/platform/test/screenshot_creation/ftr_provider_context.d.ts b/x-pack/platform/test/screenshot_creation/ftr_provider_context.d.ts new file mode 100644 index 0000000000000..24f5087ef7fe2 --- /dev/null +++ b/x-pack/platform/test/screenshot_creation/ftr_provider_context.d.ts @@ -0,0 +1,13 @@ +/* + * 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 { GenericFtrProviderContext } from '@kbn/test'; + +import { pageObjects } from './page_objects'; +import { services } from './services'; + +export type FtrProviderContext = GenericFtrProviderContext; diff --git a/x-pack/test/screenshot_creation/page_objects/index.ts b/x-pack/platform/test/screenshot_creation/page_objects/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/page_objects/index.ts rename to x-pack/platform/test/screenshot_creation/page_objects/index.ts diff --git a/x-pack/test/screenshot_creation/services/common_screenshots.ts b/x-pack/platform/test/screenshot_creation/services/common_screenshots.ts similarity index 100% rename from x-pack/test/screenshot_creation/services/common_screenshots.ts rename to x-pack/platform/test/screenshot_creation/services/common_screenshots.ts diff --git a/x-pack/test/screenshot_creation/services/index.ts b/x-pack/platform/test/screenshot_creation/services/index.ts similarity index 100% rename from x-pack/test/screenshot_creation/services/index.ts rename to x-pack/platform/test/screenshot_creation/services/index.ts diff --git a/x-pack/platform/test/tsconfig.json b/x-pack/platform/test/tsconfig.json index 13dfaf997736e..0d10532db2ca7 100644 --- a/x-pack/platform/test/tsconfig.json +++ b/x-pack/platform/test/tsconfig.json @@ -126,5 +126,12 @@ "@kbn/saved-objects-management-plugin", "@kbn/es", "@kbn/mock-idp-utils", + "@kbn/aiops-change-point-detection", + "@kbn/aiops-plugin", + "@kbn/ml-category-validator", + "@kbn/response-ops-alerts-filters-form", + "@kbn/embeddable-alerts-table-plugin", + "@kbn/apm-synthtrace-client", + "@kbn/apm-synthtrace", ] } diff --git a/x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts b/x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts index 29aecd0add468..4ea7c367159eb 100644 --- a/x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts +++ b/x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts @@ -9,8 +9,8 @@ import { Client, errors } from '@elastic/elasticsearch'; import { ToolingLog } from '@kbn/tooling-log'; import { InferenceTaskType } from '@elastic/elasticsearch/lib/api/types'; import pRetry from 'p-retry'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { DeploymentAgnosticFtrProviderContext } from '../../../../ftr_provider_context'; -import { SUPPORTED_TRAINED_MODELS } from '../../../../../../functional/services/ml/api'; import { setupKnowledgeBase, waitForKnowledgeBaseReady } from './knowledge_base'; // tiny models diff --git a/x-pack/test/api_integration/services/aiops.ts b/x-pack/test/api_integration/services/aiops.ts deleted file mode 100644 index a7e6a7cc98304..0000000000000 --- a/x-pack/test/api_integration/services/aiops.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 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 { FtrProviderContext } from '../../functional/ftr_provider_context'; - -import { LogRateAnalysisDataGeneratorProvider } from '../../functional/services/aiops/log_rate_analysis_data_generator'; - -export function AiopsProvider(context: FtrProviderContext) { - const logRateAnalysisDataGenerator = LogRateAnalysisDataGeneratorProvider(context); - - return { - logRateAnalysisDataGenerator, - }; -} diff --git a/x-pack/test/api_integration/services/index.ts b/x-pack/test/api_integration/services/index.ts index df9386a729080..c3deadfe3ad0d 100644 --- a/x-pack/test/api_integration/services/index.ts +++ b/x-pack/test/api_integration/services/index.ts @@ -14,10 +14,8 @@ import { EsSupertestWithoutAuthProvider } from './es_supertest_without_auth'; import { UsageAPIProvider } from './usage_api'; -import { AiopsProvider } from './aiops'; import { InfraOpsSourceConfigurationProvider } from './infraops_source_configuration'; import { IngestManagerProvider } from '../../common/services/ingest_manager'; -import { TransformProvider } from './transform'; import { IngestPipelinesProvider } from './ingest_pipelines'; import { DataViewApiProvider } from './data_view_api'; import { SloApiProvider } from './slo'; @@ -30,14 +28,12 @@ export const services = { esSupertest: kibanaApiIntegrationServices.esSupertest, supertest: kibanaApiIntegrationServices.supertest, - aiops: AiopsProvider, dataViewApi: DataViewApiProvider, esSupertestWithoutAuth: EsSupertestWithoutAuthProvider, infraOpsSourceConfiguration: InfraOpsSourceConfigurationProvider, usageAPI: UsageAPIProvider, ml: MachineLearningProvider, ingestManager: IngestManagerProvider, - transform: TransformProvider, ingestPipelines: IngestPipelinesProvider, slo: SloApiProvider, securitySolutionApi: SecuritySolutionApiProvider, diff --git a/x-pack/test/api_integration/services/transform.ts b/x-pack/test/api_integration/services/transform.ts deleted file mode 100644 index 16876413b1239..0000000000000 --- a/x-pack/test/api_integration/services/transform.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 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 { FtrProviderContext } from '../../functional/ftr_provider_context'; - -import { TransformAPIProvider } from '../../functional/services/transform/api'; -import { TransformSecurityCommonProvider } from '../../functional/services/transform/security_common'; -import { MachineLearningAPIProvider } from '../../functional/services/ml/api'; -import { MachineLearningTestResourcesProvider } from '../../functional/services/ml/test_resources'; - -export function TransformProvider(context: FtrProviderContext) { - const api = TransformAPIProvider(context); - const mlApi = MachineLearningAPIProvider(context); - const securityCommon = TransformSecurityCommonProvider(context); - const testResources = MachineLearningTestResourcesProvider(context, mlApi); - - return { - api, - securityCommon, - testResources, - }; -} diff --git a/x-pack/test/functional/apps/infra/logs/ml_job_id_formats/ml_job_helper.ts b/x-pack/test/functional/apps/infra/logs/ml_job_id_formats/ml_job_helper.ts index 7c6dcc9b5575f..887dbaa659d56 100644 --- a/x-pack/test/functional/apps/infra/logs/ml_job_id_formats/ml_job_helper.ts +++ b/x-pack/test/functional/apps/infra/logs/ml_job_id_formats/ml_job_helper.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { MlApi } from '../../../../services/ml/api'; +import { MlApi } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { MlJob } from './ml_job_configs'; export function createMlJobHelper(ml: MlApi) { diff --git a/x-pack/test/functional/apps/ml/anomaly_detection_jobs/custom_urls.ts b/x-pack/test/functional/apps/ml/anomaly_detection_jobs/custom_urls.ts index 5a557d2270944..606aa7a500f64 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection_jobs/custom_urls.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection_jobs/custom_urls.ts @@ -7,12 +7,12 @@ import { Job, Datafeed } from '@kbn/ml-plugin/common/types/anomaly_detection_jobs'; import { TIME_RANGE_TYPE } from '@kbn/ml-plugin/public/application/components/custom_urls/custom_url_editor/constants'; -import { FtrProviderContext } from '../../../ftr_provider_context'; import type { DiscoverUrlConfig, DashboardUrlConfig, OtherUrlConfig, -} from '../../../services/ml/job_table'; +} from '@kbn/test-suites-xpack-platform/functional/services/ml/job_table'; +import { FtrProviderContext } from '../../../ftr_provider_context'; // @ts-expect-error doesn't implement the full interface const JOB_CONFIG: Job = { diff --git a/x-pack/test/functional/apps/ml/anomaly_detection_jobs/job_expanded_details.ts b/x-pack/test/functional/apps/ml/anomaly_detection_jobs/job_expanded_details.ts index e48ca875bb1f2..a90c0cbe283a8 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection_jobs/job_expanded_details.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection_jobs/job_expanded_details.ts @@ -7,8 +7,8 @@ import { Job } from '@kbn/ml-plugin/common/types/anomaly_detection_jobs'; import { JOB_STATE } from '@kbn/ml-plugin/common'; +import { QuickFilterButtonTypes } from '@kbn/test-suites-xpack-platform/functional/services/ml/job_table'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { QuickFilterButtonTypes } from '../../../services/ml/job_table'; export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/x-pack/test/functional/apps/ml/anomaly_detection_result_views/anomaly_explorer.ts b/x-pack/test/functional/apps/ml/anomaly_detection_result_views/anomaly_explorer.ts index 9113a34b1d6d8..4c1c876fe8870 100644 --- a/x-pack/test/functional/apps/ml/anomaly_detection_result_views/anomaly_explorer.ts +++ b/x-pack/test/functional/apps/ml/anomaly_detection_result_views/anomaly_explorer.ts @@ -8,8 +8,8 @@ import type { Job, Datafeed } from '@kbn/ml-plugin/common/types/anomaly_detection_jobs'; import type { AnomalySwimLaneEmbeddableState } from '@kbn/ml-plugin/public'; import { stringHash } from '@kbn/ml-string-hash'; +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import type { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../services/ml/security_common'; // @ts-expect-error not full interface const JOB_CONFIG: Job = { diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation.ts index 1d4039ef9518c..dca1d540bae74 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation.ts @@ -6,14 +6,14 @@ */ import { TIME_RANGE_TYPE } from '@kbn/ml-plugin/public/application/components/custom_urls/custom_url_editor/constants'; -import type { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; -import type { FtrProviderContext } from '../../../ftr_provider_context'; -import type { FieldStatsType } from '../common/types'; +import type { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import { type DiscoverUrlConfig, type DashboardUrlConfig, type OtherUrlConfig, -} from '../../../services/ml/data_frame_analytics_edit'; +} from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_edit'; +import type { FtrProviderContext } from '../../../ftr_provider_context'; +import type { FieldStatsType } from '../common/types'; const testDiscoverCustomUrl: DiscoverUrlConfig = { label: 'Show data', diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation_saved_search.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation_saved_search.ts index a76d0fb27d92c..ea8364839345d 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation_saved_search.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/classification_creation_saved_search.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; +import type { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import type { FtrProviderContext } from '../../../ftr_provider_context'; import type { FieldStatsType } from '../common/types'; diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/custom_urls.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/custom_urls.ts index ab1b46796dad4..b622a86bc4a22 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/custom_urls.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/custom_urls.ts @@ -6,12 +6,12 @@ */ import { TIME_RANGE_TYPE } from '@kbn/ml-plugin/public/application/components/custom_urls/custom_url_editor/constants'; -import { FtrProviderContext } from '../../../ftr_provider_context'; import { type DiscoverUrlConfig, type DashboardUrlConfig, type OtherUrlConfig, -} from '../../../services/ml/data_frame_analytics_edit'; +} from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_edit'; +import { FtrProviderContext } from '../../../ftr_provider_context'; const testDiscoverCustomUrl: DiscoverUrlConfig = { label: 'Show data', diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts index 24de85af38d78..1456234b99c85 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts @@ -6,14 +6,14 @@ */ import { TIME_RANGE_TYPE } from '@kbn/ml-plugin/public/application/components/custom_urls/custom_url_editor/constants'; -import type { FtrProviderContext } from '../../../ftr_provider_context'; -import type { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; -import type { FieldStatsType } from '../common/types'; +import type { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import { type DiscoverUrlConfig, type DashboardUrlConfig, type OtherUrlConfig, -} from '../../../services/ml/data_frame_analytics_edit'; +} from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_edit'; +import type { FtrProviderContext } from '../../../ftr_provider_context'; +import type { FieldStatsType } from '../common/types'; const testDiscoverCustomUrl: DiscoverUrlConfig = { label: 'Show data', diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation_saved_search.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation_saved_search.ts index 98e8e45c241d2..0adaad528c30f 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation_saved_search.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation_saved_search.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; +import { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService }: FtrProviderContext) { diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation.ts index 07126c69a250c..41c116e36ddf8 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation.ts @@ -6,14 +6,14 @@ */ import { TIME_RANGE_TYPE } from '@kbn/ml-plugin/public/application/components/custom_urls/custom_url_editor/constants'; -import type { FtrProviderContext } from '../../../ftr_provider_context'; -import type { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; -import type { FieldStatsType } from '../common/types'; +import type { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import { type DiscoverUrlConfig, type DashboardUrlConfig, type OtherUrlConfig, -} from '../../../services/ml/data_frame_analytics_edit'; +} from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_edit'; +import type { FtrProviderContext } from '../../../ftr_provider_context'; +import type { FieldStatsType } from '../common/types'; export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation_saved_search.ts b/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation_saved_search.ts index b9553fd69be71..5a08f8e78c196 100644 --- a/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation_saved_search.ts +++ b/x-pack/test/functional/apps/ml/data_frame_analytics/regression_creation_saved_search.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { AnalyticsTableRowDetails } from '../../../services/ml/data_frame_analytics_table'; +import { AnalyticsTableRowDetails } from '@kbn/test-suites-xpack-platform/functional/services/ml/data_frame_analytics_table'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService }: FtrProviderContext) { diff --git a/x-pack/test/functional/apps/ml/permissions/full_ml_access.ts b/x-pack/test/functional/apps/ml/permissions/full_ml_access.ts index b986d29c7fee7..2d450a42473dd 100644 --- a/x-pack/test/functional/apps/ml/permissions/full_ml_access.ts +++ b/x-pack/test/functional/apps/ml/permissions/full_ml_access.ts @@ -5,10 +5,9 @@ * 2.0. */ +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../services/ml/security_common'; - export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); const ml = getService('ml'); diff --git a/x-pack/test/functional/apps/ml/permissions/no_ml_access.ts b/x-pack/test/functional/apps/ml/permissions/no_ml_access.ts index d6729e7bef923..1d5d0ab419e09 100644 --- a/x-pack/test/functional/apps/ml/permissions/no_ml_access.ts +++ b/x-pack/test/functional/apps/ml/permissions/no_ml_access.ts @@ -5,10 +5,9 @@ * 2.0. */ +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../services/ml/security_common'; - export default function ({ getPageObjects, getService }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'error', 'dashboard']); const ml = getService('ml'); diff --git a/x-pack/test/functional/apps/ml/permissions/read_ml_access.ts b/x-pack/test/functional/apps/ml/permissions/read_ml_access.ts index 7ffdf2286439d..515b583e7afbe 100644 --- a/x-pack/test/functional/apps/ml/permissions/read_ml_access.ts +++ b/x-pack/test/functional/apps/ml/permissions/read_ml_access.ts @@ -5,10 +5,9 @@ * 2.0. */ +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../services/ml/security_common'; - export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); const ml = getService('ml'); diff --git a/x-pack/test/functional/apps/ml/short_tests/model_management/model_list.ts b/x-pack/test/functional/apps/ml/short_tests/model_management/model_list.ts index c0d4af068832e..011ffe4fce2f1 100644 --- a/x-pack/test/functional/apps/ml/short_tests/model_management/model_list.ts +++ b/x-pack/test/functional/apps/ml/short_tests/model_management/model_list.ts @@ -6,8 +6,8 @@ */ import { getDefaultOnFailureConfiguration } from '@kbn/ml-plugin/public/application/components/ml_inference/state'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { FtrProviderContext } from '../../../../ftr_provider_context'; -import { SUPPORTED_TRAINED_MODELS } from '../../../../services/ml/api'; export default function ({ getService }: FtrProviderContext) { const ml = getService('ml'); diff --git a/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts b/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts index b2b83ff1217e0..016876b5c869b 100644 --- a/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts +++ b/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts @@ -5,8 +5,8 @@ * 2.0. */ +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../services/ml/security_common'; export default function ({ getService }: FtrProviderContext) { const browser = getService('browser'); diff --git a/x-pack/test/functional/apps/search_playground/playground_overview.ess.ts b/x-pack/test/functional/apps/search_playground/playground_overview.ess.ts index c6fcd9bda8e92..210e207f093ba 100644 --- a/x-pack/test/functional/apps/search_playground/playground_overview.ess.ts +++ b/x-pack/test/functional/apps/search_playground/playground_overview.ess.ts @@ -5,15 +5,34 @@ * 2.0. */ +import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common'; import { FtrProviderContext } from '../../ftr_provider_context'; import { createOpenAIConnector } from './utils/create_openai_connector'; -import { MachineLearningCommonAPIProvider } from '../../services/ml/common_api'; import { createLlmProxy, LlmProxy, } from '../../../api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/create_llm_proxy'; +const COMMON_REQUEST_HEADERS = { + 'kbn-xsrf': 'some-xsrf-token', + 'x-elastic-internal-origin': 'Kibana', +}; + +export function MachineLearningCommonAPIProvider({}: FtrProviderContext) { + return { + getCommonRequestHeader, + }; +} + +export function getCommonRequestHeader(apiVersion?: string) { + if (apiVersion === undefined) { + return COMMON_REQUEST_HEADERS; + } + + return Object.assign(COMMON_REQUEST_HEADERS, { [ELASTIC_HTTP_VERSION_HEADER]: apiVersion }); +} + const esArchiveIndex = 'src/platform/test/api_integration/fixtures/es_archiver/index_patterns/basic_index'; diff --git a/x-pack/test/functional/apps/transform/actions/reauthorizing.ts b/x-pack/test/functional/apps/transform/actions/reauthorizing.ts index 878a351410396..29885e4b1095c 100644 --- a/x-pack/test/functional/apps/transform/actions/reauthorizing.ts +++ b/x-pack/test/functional/apps/transform/actions/reauthorizing.ts @@ -11,10 +11,10 @@ import type { TransformPivotConfig, } from '@kbn/transform-plugin/common/types/transform'; import type { SecurityCreateApiKeyResponse } from '@elastic/elasticsearch/lib/api/types'; +import { getCommonRequestHeader } from '@kbn/test-suites-xpack-platform/functional/services/ml/common_api'; +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/transform/security_common'; import type { FtrProviderContext } from '../../../ftr_provider_context'; import { getLatestTransformConfig, getPivotTransformConfig } from '../helpers'; -import { USER } from '../../../services/transform/security_common'; -import { getCommonRequestHeader } from '../../../services/ml/common_api'; interface TestDataPivot { suiteTitle: string; diff --git a/x-pack/test/functional/apps/transform/creation/runtime_mappings_saved_search/creation_runtime_mappings.ts b/x-pack/test/functional/apps/transform/creation/runtime_mappings_saved_search/creation_runtime_mappings.ts index dc9c74dfa07a5..f16e0a622c69b 100644 --- a/x-pack/test/functional/apps/transform/creation/runtime_mappings_saved_search/creation_runtime_mappings.ts +++ b/x-pack/test/functional/apps/transform/creation/runtime_mappings_saved_search/creation_runtime_mappings.ts @@ -7,10 +7,9 @@ import { TRANSFORM_STATE } from '@kbn/transform-plugin/common/constants'; +import type { HistogramCharts } from '@kbn/test-suites-xpack-platform/functional/services/transform/wizard'; import { FtrProviderContext } from '../../../../ftr_provider_context'; -import type { HistogramCharts } from '../../../../services/transform/wizard'; - import { GroupByEntry, isLatestTransformTestData, diff --git a/x-pack/test/functional/page_objects/index.ts b/x-pack/test/functional/page_objects/index.ts index 9f6c7deed6050..7059444698d48 100644 --- a/x-pack/test/functional/page_objects/index.ts +++ b/x-pack/test/functional/page_objects/index.ts @@ -22,6 +22,7 @@ import { UpgradeAssistantFlyoutObject } from '@kbn/test-suites-xpack-platform/fu import { UserProfilePageProvider } from '@kbn/test-suites-xpack-platform/functional/page_objects/user_profile_page'; import { SearchSessionsPageProvider } from '@kbn/test-suites-xpack-platform/functional/page_objects/search_sessions_management_page'; import { GraphPageObject } from '@kbn/test-suites-xpack-platform/functional/page_objects/graph_page'; +import { MaintenanceWindowsPageProvider } from '@kbn/test-suites-xpack-platform/functional/page_objects/maintenance_windows_page'; import { ApiKeysPageProvider } from './api_keys_page'; import { AssetDetailsProvider } from './asset_details'; import { BannersPageObject } from './banners_page'; @@ -40,7 +41,6 @@ import { InfraSavedViewsProvider } from './infra_saved_views'; import { IngestPipelinesPageProvider } from './ingest_pipelines_page'; import { LicenseManagementPageProvider } from './license_management_page'; import { LogstashPageObject } from './logstash_page'; -import { MaintenanceWindowsPageProvider } from './maintenance_windows_page'; import { NavigationalSearchPageObject } from './navigational_search'; import { ObservabilityLogsExplorerPageObject } from './observability_logs_explorer'; import { DatasetQualityPageObject } from './dataset_quality'; diff --git a/x-pack/test/functional/services/index.ts b/x-pack/test/functional/services/index.ts index eb0cac586451d..6e7f8225d4edb 100644 --- a/x-pack/test/functional/services/index.ts +++ b/x-pack/test/functional/services/index.ts @@ -12,6 +12,13 @@ import { UserMenuProvider } from '@kbn/test-suites-xpack-platform/functional/ser import { SampleDataServiceProvider } from '@kbn/test-suites-xpack-platform/functional/services/sample_data'; 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 { CasesServiceProvider } from '@kbn/test-suites-xpack-platform/functional/services/cases'; +import { ActionsServiceProvider } from '@kbn/test-suites-xpack-platform/functional/services/actions'; +import { AiopsProvider } from '@kbn/test-suites-xpack-platform/functional/services/aiops'; +import { RulesServiceProvider } from '@kbn/test-suites-xpack-platform/functional/services/rules'; +import { MachineLearningProvider } from '@kbn/test-suites-xpack-platform/functional/services/ml'; +import { CanvasElementProvider } from '@kbn/test-suites-xpack-platform/functional/services/canvas_element'; +import { TransformProvider } from '@kbn/test-suites-xpack-platform/functional/services/transform'; 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'; @@ -55,19 +62,10 @@ 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 diff --git a/x-pack/test/functional_basic/apps/ml/permissions/full_ml_access.ts b/x-pack/test/functional_basic/apps/ml/permissions/full_ml_access.ts index ab4dc572517ca..b411066fad4ca 100644 --- a/x-pack/test/functional_basic/apps/ml/permissions/full_ml_access.ts +++ b/x-pack/test/functional_basic/apps/ml/permissions/full_ml_access.ts @@ -6,8 +6,8 @@ */ import expect from '@kbn/expect'; +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../../functional/services/ml/security_common'; export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/x-pack/test/functional_basic/apps/ml/permissions/no_ml_access.ts b/x-pack/test/functional_basic/apps/ml/permissions/no_ml_access.ts index feb251cc26e1d..ed416acc783a1 100644 --- a/x-pack/test/functional_basic/apps/ml/permissions/no_ml_access.ts +++ b/x-pack/test/functional_basic/apps/ml/permissions/no_ml_access.ts @@ -5,10 +5,9 @@ * 2.0. */ +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../../functional/services/ml/security_common'; - export default function ({ getPageObjects, getService }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'error']); const ml = getService('ml'); diff --git a/x-pack/test/functional_basic/apps/ml/permissions/read_ml_access.ts b/x-pack/test/functional_basic/apps/ml/permissions/read_ml_access.ts index 14a4be1ac8fdc..df5b63a4625b5 100644 --- a/x-pack/test/functional_basic/apps/ml/permissions/read_ml_access.ts +++ b/x-pack/test/functional_basic/apps/ml/permissions/read_ml_access.ts @@ -6,8 +6,8 @@ */ import expect from '@kbn/expect'; +import { USER } from '@kbn/test-suites-xpack-platform/functional/services/ml/security_common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -import { USER } from '../../../../functional/services/ml/security_common'; export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/x-pack/test/functional_with_es_ssl/apps/config.ts b/x-pack/test/functional_with_es_ssl/apps/config.ts new file mode 100644 index 0000000000000..cfc7e119963e7 --- /dev/null +++ b/x-pack/test/functional_with_es_ssl/apps/config.ts @@ -0,0 +1,33 @@ +/* + * 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 { FtrConfigProviderContext } from '@kbn/test'; +import { resolve } from 'path'; +import { pageObjects, services } from '../ftr_provider_context'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const baseConfig = await readConfigFile( + require.resolve('@kbn/test-suites-xpack-platform/functional_with_es_ssl/config.base') + ); + + return { + ...baseConfig.getAll(), + kbnTestServer: { + ...baseConfig.get('kbnTestServer'), + serverArgs: [ + ...baseConfig.get('kbnTestServer.serverArgs'), + '--uiSettings.overrides.observability:enableLegacyUptimeApp=true', + ], + }, + testFiles: [resolve(__dirname, './uptime')], + pageObjects, + services, + junit: { + reportName: 'Chrome X-Pack UI Functional Tests with ES SSL - Uptime', + }, + }; +} diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/alert_flyout.ts b/x-pack/test/functional_with_es_ssl/apps/uptime/alert_flyout.ts similarity index 99% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/alert_flyout.ts rename to x-pack/test/functional_with_es_ssl/apps/uptime/alert_flyout.ts index 25f77cb8d41ef..dacb255ed6fdf 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/alert_flyout.ts +++ b/x-pack/test/functional_with_es_ssl/apps/uptime/alert_flyout.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { setTimeout as setTimeoutAsync } from 'timers/promises'; -import { FtrProviderContext } from '../../../ftr_provider_context'; +import { FtrProviderContext } from '../../ftr_provider_context'; export default ({ getPageObjects, getService }: FtrProviderContext) => { describe('uptime alerts', () => { diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/index.ts b/x-pack/test/functional_with_es_ssl/apps/uptime/index.ts similarity index 93% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/index.ts rename to x-pack/test/functional_with_es_ssl/apps/uptime/index.ts index 80d91ef96a904..2c39ef045972f 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/index.ts +++ b/x-pack/test/functional_with_es_ssl/apps/uptime/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { FtrProviderContext } from '../../../ftr_provider_context'; +import { FtrProviderContext } from '../../ftr_provider_context'; const ARCHIVE = 'x-pack/test/functional/es_archives/uptime/full_heartbeat'; diff --git a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/simple_down_alert.ts b/x-pack/test/functional_with_es_ssl/apps/uptime/simple_down_alert.ts similarity index 96% rename from x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/simple_down_alert.ts rename to x-pack/test/functional_with_es_ssl/apps/uptime/simple_down_alert.ts index e5efd66060e31..3e54f0c6a557b 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/simple_down_alert.ts +++ b/x-pack/test/functional_with_es_ssl/apps/uptime/simple_down_alert.ts @@ -7,8 +7,8 @@ import expect from '@kbn/expect'; import { MonitorStatusTranslations } from '@kbn/uptime-plugin/common/rules/legacy_uptime/translations'; -import { FtrProviderContext } from '../../../ftr_provider_context'; -import { deleteUptimeSettingsObject } from '../../../../functional/apps/uptime'; +import { FtrProviderContext } from '../../ftr_provider_context'; +import { deleteUptimeSettingsObject } from '../../../functional/apps/uptime'; export default ({ getPageObjects, getService }: FtrProviderContext) => { describe('uptime simple status alert', () => { diff --git a/x-pack/test/functional_with_es_ssl/ftr_provider_context.ts b/x-pack/test/functional_with_es_ssl/ftr_provider_context.ts new file mode 100644 index 0000000000000..8185c6ff68c7d --- /dev/null +++ b/x-pack/test/functional_with_es_ssl/ftr_provider_context.ts @@ -0,0 +1,27 @@ +/* + * 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 { GenericFtrProviderContext, GenericFtrService } from '@kbn/test'; + +import { pageObjects as platformPageObjects } from '@kbn/test-suites-xpack-platform/functional_with_es_ssl/page_objects'; +import { services as platformServices } from '../functional/services'; +import { UptimePageObject } from '../functional/page_objects/uptime_page'; +import { InfraLogsPageProvider } from '../functional/page_objects/infra_logs_page'; +import { UptimeProvider } from '../functional/services/uptime'; + +export const pageObjects = { + ...platformPageObjects, + infraLogs: InfraLogsPageProvider, + uptime: UptimePageObject, +}; + +export const services = { + ...platformServices, + uptime: UptimeProvider, +}; +export type FtrProviderContext = GenericFtrProviderContext; +export class FtrService extends GenericFtrService {} diff --git a/x-pack/test/observability_functional/apps/observability/pages/alerts/rule_stats.ts b/x-pack/test/observability_functional/apps/observability/pages/alerts/rule_stats.ts index 10ca054265052..9b45d3b6181d3 100644 --- a/x-pack/test/observability_functional/apps/observability/pages/alerts/rule_stats.ts +++ b/x-pack/test/observability_functional/apps/observability/pages/alerts/rule_stats.ts @@ -6,14 +6,14 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../../../ftr_provider_context'; -import { ObjectRemover } from '../../../../../functional_with_es_ssl/lib/object_remover'; +import { ObjectRemover } from '@kbn/test-suites-xpack-platform/functional_with_es_ssl/lib/object_remover'; import { createAlert as createRule, disableAlert as disableRule, muteAlert as muteRule, -} from '../../../../../functional_with_es_ssl/lib/alert_api_actions'; -import { generateUniqueKey } from '../../../../../functional_with_es_ssl/lib/get_test_data'; +} from '@kbn/test-suites-xpack-platform/functional_with_es_ssl/lib/alert_api_actions'; +import { generateUniqueKey } from '@kbn/test-suites-xpack-platform/functional_with_es_ssl/lib/get_test_data'; +import { FtrProviderContext } from '../../../../ftr_provider_context'; import { asyncForEach } from '../../helpers'; export default ({ getService }: FtrProviderContext) => { diff --git a/x-pack/test/observability_functional/with_rac_write.config.ts b/x-pack/test/observability_functional/with_rac_write.config.ts index 6ca4262b3ea42..b739b9b6ae048 100644 --- a/x-pack/test/observability_functional/with_rac_write.config.ts +++ b/x-pack/test/observability_functional/with_rac_write.config.ts @@ -57,7 +57,10 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--xpack.spaces.allowSolutionVisibility=true', `--elasticsearch.hosts=https://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, `--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`, - `--plugin-path=${resolve(__dirname, '../functional_with_es_ssl/plugins/alerts')}`, + `--plugin-path=${resolve( + __dirname, + '../../platform/test/functional_with_es_ssl/plugins/alerts' + )}`, `--xpack.actions.enabledActionTypes=${JSON.stringify(enabledActionTypes)}`, `--xpack.actions.preconfiguredAlertHistoryEsIndex=false`, `--xpack.actions.preconfigured=${JSON.stringify({ diff --git a/x-pack/test/screenshot_creation/apps/index.ts b/x-pack/test/screenshot_creation/apps/index.ts index 763fe31c9d9e0..dc2d900b323ca 100644 --- a/x-pack/test/screenshot_creation/apps/index.ts +++ b/x-pack/test/screenshot_creation/apps/index.ts @@ -9,8 +9,6 @@ import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { describe('apps', function () { - loadTestFile(require.resolve('./ml_docs')); loadTestFile(require.resolve('./response_ops_docs')); - loadTestFile(require.resolve('./transform_docs')); }); } diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/index.ts b/x-pack/test/screenshot_creation/apps/response_ops_docs/index.ts index 160b48aa48a87..105e4d0ed21e5 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/index.ts +++ b/x-pack/test/screenshot_creation/apps/response_ops_docs/index.ts @@ -39,10 +39,6 @@ export default function ({ getPageObject, getService, loadTestFile }: FtrProvide await ml.testResources.resetKibanaAnnouncements(); }); - loadTestFile(require.resolve('./stack_alerting')); - loadTestFile(require.resolve('./stack_cases')); - loadTestFile(require.resolve('./stack_connectors')); - loadTestFile(require.resolve('./maintenance_windows')); loadTestFile(require.resolve('./observability_alerting')); loadTestFile(require.resolve('./observability_cases')); loadTestFile(require.resolve('./security_cases')); diff --git a/x-pack/test/screenshot_creation/config.ts b/x-pack/test/screenshot_creation/config.ts index 5464806c20726..a65a0ed3c0416 100644 --- a/x-pack/test/screenshot_creation/config.ts +++ b/x-pack/test/screenshot_creation/config.ts @@ -5,49 +5,21 @@ * 2.0. */ -import Fs from 'fs'; -import { CA_CERT_PATH } from '@kbn/dev-utils'; import { FtrConfigProviderContext } from '@kbn/test'; -import { pageObjects } from './page_objects'; -import { services } from './services'; +import { services } from './ftr_provider_context'; export default async function ({ readConfigFile }: FtrConfigProviderContext) { const xpackFunctionalConfig = await readConfigFile( - require.resolve('../functional/config.base.js') + require.resolve('@kbn/test-suites-xpack-platform/screenshot_creation/config') ); - const servers = { - ...xpackFunctionalConfig.get('servers'), - elasticsearch: { - ...xpackFunctionalConfig.get('servers.elasticsearch'), - protocol: 'https', - certificateAuthorities: [Fs.readFileSync(CA_CERT_PATH)], - }, - }; - return { - // default to the xpack functional config ...xpackFunctionalConfig.getAll(), - servers, - pageObjects, - services, testFiles: [require.resolve('./apps')], + services, junit: { ...xpackFunctionalConfig.get('junit'), reportName: 'Chrome X-Pack UI Screenshot Creation', }, - esTestCluster: { - ...xpackFunctionalConfig.get('esTestCluster'), - ssl: true, - }, - kbnTestServer: { - ...xpackFunctionalConfig.get('kbnTestServer'), - serverArgs: [ - ...xpackFunctionalConfig.get('kbnTestServer.serverArgs'), - `--elasticsearch.hosts=https://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, - `--elasticsearch.ssl.certificateAuthorities=${CA_CERT_PATH}`, - `--xpack.alerting.rules.minimumScheduleInterval.value="2s"`, - ], - }, }; } diff --git a/x-pack/test/screenshot_creation/ftr_provider_context.d.ts b/x-pack/test/screenshot_creation/ftr_provider_context.d.ts index 24f5087ef7fe2..9b02d6b96869f 100644 --- a/x-pack/test/screenshot_creation/ftr_provider_context.d.ts +++ b/x-pack/test/screenshot_creation/ftr_provider_context.d.ts @@ -7,7 +7,13 @@ import { GenericFtrProviderContext } from '@kbn/test'; -import { pageObjects } from './page_objects'; -import { services } from './services'; +import { pageObjects } from '@kbn/test-suites-xpack-platform/screenshot_creation/page_objects'; +import { services as platformServices } from '@kbn/test-suites-xpack-platform/screenshot_creation/services'; +import { ObservabilityProvider } from '../functional/services/observability'; + +export const services = { + ...platformServices, + observability: ObservabilityProvider, +}; export type FtrProviderContext = GenericFtrProviderContext; diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/machine_learning/machine_learning_setup.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/machine_learning/machine_learning_setup.ts index bd8214e63e4d1..dffbda88bc3d3 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/machine_learning/machine_learning_setup.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/machine_learning/machine_learning_setup.ts @@ -8,7 +8,7 @@ import type SuperTest from 'supertest'; import { RetryService } from '@kbn/ftr-common-functional-services'; import { ML_GROUP_ID } from '@kbn/security-solution-plugin/common/constants'; -import { getCommonRequestHeader } from '../../../../../functional/services/ml/common_api'; +import { getCommonRequestHeader } from '@kbn/test-suites-xpack-platform/functional/services/ml/common_api'; interface ModuleJob { id: string; diff --git a/x-pack/test/security_solution_api_integration/test_suites/genai/evaluations/trial_license_complete_tier/evaluations.ts b/x-pack/test/security_solution_api_integration/test_suites/genai/evaluations/trial_license_complete_tier/evaluations.ts index 043d83d765a87..c4a780f01eb61 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/genai/evaluations/trial_license_complete_tier/evaluations.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/genai/evaluations/trial_license_complete_tier/evaluations.ts @@ -12,6 +12,7 @@ import { } from '@kbn/elastic-assistant-common'; import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common'; import os from 'os'; +import { MachineLearningProvider } from '@kbn/test-suites-xpack-platform/functional/services/ml'; import { getSecurityGenAIConfigFromEnvVar } from '../../../../scripts/genai/vault/manage_secrets'; import { FtrProviderContext } from '../../../../ftr_provider_context'; @@ -22,7 +23,6 @@ import { setupKnowledgeBase, } from '../../knowledge_base/entries/utils/helpers'; -import { MachineLearningProvider } from '../../../../../functional/services/ml'; import { routeWithNamespace } from '../../../../../common/utils/security_solution'; import { loadEvalKnowledgeBaseEntries } from '../data/kb_entries'; import { waitForEvaluationComplete } from './utils'; diff --git a/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/trial_license_complete_tier/entries.ts b/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/trial_license_complete_tier/entries.ts index 28c97efaee2dd..031a735cba208 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/trial_license_complete_tier/entries.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/trial_license_complete_tier/entries.ts @@ -7,6 +7,7 @@ import expect from 'expect'; import { KNOWLEDGE_BASE_ENTRIES_TABLE_MAX_PAGE_SIZE } from '@kbn/elastic-assistant-plugin/common/constants'; +import { MachineLearningProvider } from '@kbn/test-suites-xpack-platform/functional/services/ml'; import { FtrProviderContext } from '../../../../../ftr_provider_context'; import { createEntry, createEntryForUser } from '../utils/create_entry'; import { findEntries } from '../utils/find_entry'; @@ -17,7 +18,6 @@ import { setupKnowledgeBase, } from '../utils/helpers'; import { removeServerGeneratedProperties } from '../utils/remove_server_generated_properties'; -import { MachineLearningProvider } from '../../../../../../functional/services/ml'; import { documentEntry, indexEntry, globalDocumentEntry } from './mocks/entries'; import { secOnlySpacesAll, secOnlySpacesAllAssistantMinimalAll } from '../utils/auth/users'; import { diff --git a/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/utils/helpers.ts b/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/utils/helpers.ts index 9698dfbb18a16..916cb632894b4 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/utils/helpers.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/utils/helpers.ts @@ -17,8 +17,8 @@ import { import { ELASTIC_HTTP_VERSION_HEADER } from '@kbn/core-http-common'; import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; -import { MachineLearningProvider } from '../../../../../../functional/services/ml'; -import { SUPPORTED_TRAINED_MODELS } from '../../../../../../functional/services/ml/api'; +import { MachineLearningProvider } from '@kbn/test-suites-xpack-platform/functional/services/ml'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { routeWithNamespace } from '../../../../../../common/utils/security_solution'; diff --git a/x-pack/test/security_solution_api_integration/test_suites/genai/nlp_cleanup_task/basic_license_essentials_tier/task_execution.ts b/x-pack/test/security_solution_api_integration/test_suites/genai/nlp_cleanup_task/basic_license_essentials_tier/task_execution.ts index 1e018646dd610..7f4acf99f897d 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/genai/nlp_cleanup_task/basic_license_essentials_tier/task_execution.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/genai/nlp_cleanup_task/basic_license_essentials_tier/task_execution.ts @@ -8,9 +8,9 @@ import expect from '@kbn/expect'; import { TaskStatus } from '@kbn/task-manager-plugin/server'; import type { MlGetTrainedModelsResponse } from '@elastic/elasticsearch/lib/api/types'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { FtrProviderContext } from '../../../../ftr_provider_context'; import { waitFor } from '../../../../../common/utils/security_solution'; -import { SUPPORTED_TRAINED_MODELS } from '../../../../../functional/services/ml/api'; export default ({ getService }: FtrProviderContext): void => { const esSupertest = getService('esSupertest'); diff --git a/x-pack/test/stack_functional_integration/configs/config.stack_functional_integration_base.js b/x-pack/test/stack_functional_integration/configs/config.stack_functional_integration_base.js index 5ac62b7d7abf8..fe927810c2ec1 100644 --- a/x-pack/test/stack_functional_integration/configs/config.stack_functional_integration_base.js +++ b/x-pack/test/stack_functional_integration/configs/config.stack_functional_integration_base.js @@ -11,7 +11,7 @@ import { ToolingLog } from '@kbn/tooling-log'; import { REPO_ROOT } from '@kbn/repo-info'; import chalk from 'chalk'; import { esTestConfig, kbnTestConfig } from '@kbn/test'; -import { TriggersActionsPageProvider } from '../../functional_with_es_ssl/page_objects/triggers_actions_ui_page'; +import { TriggersActionsPageProvider } from '@kbn/test-suites-xpack-platform/functional_with_es_ssl/page_objects/triggers_actions_ui_page'; const log = new ToolingLog({ level: 'info', diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 5a740ff857de3..965d7f2aff6d5 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -66,7 +66,6 @@ "@kbn/maps-plugin", "@kbn/test-subj-selector", "@kbn/rison", - "@kbn/aiops-plugin", "@kbn/logging", "@kbn/utility-types", "@kbn/data-views-plugin", @@ -76,14 +75,12 @@ "@kbn/kubernetes-security-plugin", "@kbn/es-query", "@kbn/session-view-plugin", - "@kbn/ml-is-populated-object", "@kbn/ml-string-hash", "@kbn/data-visualizer-plugin", "@kbn/visualizations-plugin", "@kbn/rule-registry-plugin", "@kbn/controls-plugin", "@kbn/core-saved-objects-server", - "@kbn/user-profile-components", "@kbn/apm-synthtrace-client", "@kbn/stdio-dev-helpers", "@kbn/cloud-integration-saml-provider-plugin", @@ -116,9 +113,7 @@ "@kbn/ftr-common-functional-ui-services", "@kbn/infra-forge", "@kbn/slo-plugin", - "@kbn/aiops-test-utils", "@kbn/observability-ai-assistant-app-plugin", - "@kbn/aiops-log-rate-analysis", "@kbn/apm-data-view", "@kbn/search-types", "@kbn/alerting-comparators", @@ -143,16 +138,14 @@ "@kbn/scout-info", "@kbn/inference-common", "@kbn/aiops-change-point-detection", + "@kbn/apm-sources-access-plugin", "@kbn/es-errors", "@kbn/content-packs-schema", - "@kbn/response-ops-alerts-filters-form", - "@kbn/embeddable-alerts-table-plugin", "@kbn/lock-manager", "@kbn/alerts-ui-shared", "@kbn/test-suites-xpack-platform", - "@kbn/management-settings-ids", + "@kbn/core-chrome-browser", "@kbn/apm-sources-access-plugin", - "@kbn/event-log-plugin", "@kbn/dev-proc-runner", "@kbn/core-provider-plugin", ] diff --git a/x-pack/test_serverless/functional/test_suites/search/ml/trained_models_list.ts b/x-pack/test_serverless/functional/test_suites/search/ml/trained_models_list.ts index b062c11191b85..9d1bba788f6c9 100644 --- a/x-pack/test_serverless/functional/test_suites/search/ml/trained_models_list.ts +++ b/x-pack/test_serverless/functional/test_suites/search/ml/trained_models_list.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack/functional/services/ml/api'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/x-pack/test_serverless/functional/test_suites/security/ml/trained_models_list.ts b/x-pack/test_serverless/functional/test_suites/security/ml/trained_models_list.ts index 991570e3fece3..7f6a2417b83f2 100644 --- a/x-pack/test_serverless/functional/test_suites/security/ml/trained_models_list.ts +++ b/x-pack/test_serverless/functional/test_suites/security/ml/trained_models_list.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack/functional/services/ml/api'; +import { SUPPORTED_TRAINED_MODELS } from '@kbn/test-suites-xpack-platform/functional/services/ml/api'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { diff --git a/yarn.lock b/yarn.lock index 48d41c2cda26b..a660a22a12f24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3791,7 +3791,7 @@ version "0.0.0" uid "" -"@kbn/alerting-fixture-plugin@link:x-pack/test/functional_with_es_ssl/plugins/alerts": +"@kbn/alerting-fixture-plugin@link:x-pack/platform/test/functional_with_es_ssl/plugins/alerts": version "0.0.0" uid "" @@ -5731,7 +5731,7 @@ version "0.0.0" uid "" -"@kbn/functional-with-es-ssl-cases-test-plugin@link:x-pack/test/functional_with_es_ssl/plugins/cases": +"@kbn/functional-with-es-ssl-cases-test-plugin@link:x-pack/platform/test/functional_with_es_ssl/plugins/cases": version "0.0.0" uid "" From 43f68a90b36724d87dcd0f5c8510d1d4f029ea56 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Tue, 15 Jul 2025 11:22:50 +0200 Subject: [PATCH 2/5] Delete maintenance_window_create_form.ts --- .../maintenance_window_create_form.ts | 96 ------------------- 1 file changed, 96 deletions(-) delete mode 100644 x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts diff --git a/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts b/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts deleted file mode 100644 index 78e595d053585..0000000000000 --- a/x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* - * 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 expect from '@kbn/expect'; -import { FtrProviderContext } from '../../../ftr_provider_context'; -import { ObjectRemover } from '../../../lib/object_remover'; - -export default ({ getPageObjects, getService }: FtrProviderContext) => { - const testSubjects = getService('testSubjects'); - const supertest = getService('supertest'); - const pageObjects = getPageObjects(['common', 'header']); - const retry = getService('retry'); - const toasts = getService('toasts'); - const objectRemover = new ObjectRemover(supertest); - - describe('Maintenance window create form', () => { - beforeEach(async () => { - await pageObjects.common.navigateToApp('maintenanceWindows'); - }); - - after(async () => { - const { body } = await supertest.get('/internal/alerting/rules/maintenance_window/_find'); - - body?.data?.forEach((mw: { id: string }) => { - objectRemover.add(mw.id, 'rules/maintenance_window', 'alerting', true); - }); - - await objectRemover.removeAll(); - }); - - it('should create a maintenance window', async () => { - await pageObjects.header.waitUntilLoadingHasFinished(); - - await testSubjects.click('mw-create-button'); - - await retry.try(async () => { - await testSubjects.existOrFail('createMaintenanceWindowForm'); - }); - - const nameInput = await testSubjects.find('createMaintenanceWindowFormNameInput'); - - await nameInput.click(); - await nameInput.type('Test Maintenance Window'); - - // Turn on repeat - await (await testSubjects.find('createMaintenanceWindowRepeatSwitch')).click(); - - await retry.try(async () => { - await testSubjects.existOrFail('recurringScheduleRepeatSelect'); - }); - - // Open the repeat dropdown select - await (await testSubjects.find('recurringScheduleRepeatSelect')).click(); - // Select custom - await (await testSubjects.find('recurringScheduleOptionCustom')).click(); - - await retry.try(async () => { - await testSubjects.existOrFail('customRecurringScheduleFrequencySelect'); - }); - - // Change interval to 2 - const intervalInput = await testSubjects.find('customRecurringScheduleIntervalInput'); - - await intervalInput.click(); - await intervalInput.type('2'); - - // Open "every" frequency dropdown - await (await testSubjects.find('customRecurringScheduleFrequencySelect')).click(); - // Select daily - await (await testSubjects.find('customFrequencyDaily')).click(); - // Click on "End -> after {X}" - await (await testSubjects.find('recurrenceEndOptionAfterX')).click(); - - await retry.try(async () => { - await testSubjects.existOrFail('count-field'); - }); - - const afterXOccurenceInput = await testSubjects.find('recurringScheduleAfterXOccurenceInput'); - - await afterXOccurenceInput.click(); - await afterXOccurenceInput.clearValue(); - await afterXOccurenceInput.type('5'); - - await (await testSubjects.find('create-submit')).click(); - - await retry.try(async () => { - const toastTitle = await toasts.getTitleAndDismiss(); - expect(toastTitle).to.eql(`Created maintenance window 'Test Maintenance Window'`); - }); - }); - }); -}; From 675455ab18ec974f1c532954fc8b1856b8d04a80 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Tue, 15 Jul 2025 11:35:47 +0200 Subject: [PATCH 3/5] Update CODEOWNERS --- .github/CODEOWNERS | 297 ++++----------------------------------------- 1 file changed, 22 insertions(+), 275 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b982adcf7c59a..bca64109aa9bd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -28,7 +28,7 @@ x-pack/platform/test/alerting_api_integration/packages/helpers @elastic/response x-pack/platform/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops x-pack/examples/alerting_example @elastic/response-ops -x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops +x-pack/platform/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops x-pack/platform/plugins/shared/alerting @elastic/response-ops x-pack/platform/packages/shared/alerting-rule-utils @elastic/obs-ux-management-team x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops @@ -513,7 +513,7 @@ src/platform/plugins/private/ftr_apis @elastic/kibana-core src/platform/packages/shared/kbn-ftr-common-functional-services @elastic/kibana-operations @elastic/appex-qa src/platform/packages/shared/kbn-ftr-common-functional-ui-services @elastic/appex-qa src/platform/packages/private/kbn-ftr-screenshot-filename @elastic/kibana-operations @elastic/appex-qa -x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +x-pack/platform/test/functional_with_es_ssl/plugins/cases @elastic/response-ops src/platform/packages/private/kbn-gen-ai-functional-testing @elastic/appex-ai-infra x-pack/examples/gen_ai_streaming_response_example @elastic/response-ops packages/kbn-generate @elastic/kibana-operations @@ -1094,206 +1094,12 @@ src/platform/packages/shared/kbn-visualization-ui-components @elastic/kibana-vis src/platform/packages/shared/kbn-visualization-utils @elastic/kibana-visualizations src/platform/plugins/shared/visualizations @elastic/kibana-visualizations x-pack/platform/plugins/private/watcher @elastic/kibana-management -x-pack/platform/plugins/shared/actions @elastic/response-ops -x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra -x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra -x-pack/platform/plugins/shared/aiops @elastic/ml-ui -x-pack/platform/plugins/shared/alerting @elastic/response-ops -x-pack/platform/plugins/shared/apm_sources_access @elastic/obs-ux-infra_services-team -x-pack/platform/plugins/shared/automatic_import @elastic/security-scalability -x-pack/platform/plugins/shared/cases @elastic/response-ops @elastic/kibana-cases -x-pack/platform/plugins/shared/cloud @elastic/kibana-core -x-pack/platform/plugins/shared/content_connectors @elastic/search-kibana -x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation -x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/embeddable_alerts_table @elastic/response-ops -x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation -x-pack/platform/plugins/shared/encrypted_saved_objects @elastic/kibana-security -x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities -x-pack/platform/plugins/shared/event_log @elastic/response-ops -x-pack/platform/plugins/shared/features @elastic/kibana-core -x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/fleet @elastic/fleet -x-pack/platform/plugins/shared/global_search @elastic/appex-sharedux -x-pack/platform/plugins/shared/index_management @elastic/kibana-management -x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra -x-pack/platform/plugins/shared/inference_endpoint @elastic/ml-ui -x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management -x-pack/platform/plugins/shared/lens @elastic/kibana-visualizations -x-pack/platform/plugins/shared/license_management @elastic/kibana-management -x-pack/platform/plugins/shared/licensing @elastic/kibana-core -x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team -x-pack/platform/plugins/shared/maps @elastic/kibana-presentation -x-pack/platform/plugins/shared/ml @elastic/ml-ui -x-pack/platform/plugins/shared/notifications @elastic/appex-sharedux -x-pack/platform/plugins/shared/observability_ai_assistant @elastic/obs-ai-assistant -x-pack/platform/plugins/shared/onechat @elastic/workchat-eng -x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows -x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team -x-pack/platform/plugins/shared/saved_objects_tagging @elastic/appex-sharedux -x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services -x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management -x-pack/platform/plugins/shared/security @elastic/kibana-security -x-pack/platform/plugins/shared/serverless @elastic/appex-sharedux -x-pack/platform/plugins/shared/spaces @elastic/kibana-security -x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops -x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops -x-pack/platform/plugins/shared/streams @elastic/streams-program-team -x-pack/platform/plugins/shared/streams_app @elastic/streams-program-team -x-pack/platform/plugins/shared/task_manager @elastic/response-ops -x-pack/platform/plugins/shared/timelines @elastic/security-threat-hunting-investigations -x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops -x-pack/platform/test -x-pack/platform/test/alerting_api_integration/common/plugins/aad @elastic/response-ops -x-pack/platform/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops -x-pack/platform/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops -x-pack/platform/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops -x-pack/platform/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops -x-pack/platform/test/alerting_api_integration/packages/helpers @elastic/response-ops -x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities -x-pack/platform/test/cases_api_integration/common/plugins/cases @elastic/response-ops -x-pack/platform/test/cases_api_integration/common/plugins/observability @elastic/response-ops -x-pack/platform/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops -x-pack/platform/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security -x-pack/platform/test/functional_cors/plugins/kibana_cors_test @elastic/kibana-security -x-pack/platform/test/functional_embedded/plugins/iframe_embedded @elastic/kibana-core -x-pack/platform/test/functional_execution_context/plugins/alerts @elastic/kibana-core -x-pack/platform/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -x-pack/platform/test/functional_with_es_ssl/plugins/cases @elastic/response-ops -x-pack/platform/test/licensing_plugin/plugins/test_feature_usage @elastic/kibana-security -x-pack/platform/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core -x-pack/platform/test/plugin_api_integration/plugins/event_log @elastic/response-ops -x-pack/platform/test/plugin_api_integration/plugins/feature_usage_test @elastic/kibana-security -x-pack/platform/test/plugin_api_integration/plugins/sample_task_plugin @elastic/response-ops -x-pack/platform/test/plugin_api_perf/plugins/task_manager_performance @elastic/response-ops -x-pack/platform/test/saved_object_api_integration/common/plugins/saved_object_test_plugin @elastic/kibana-security -x-pack/platform/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security -x-pack/platform/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget @elastic/response-ops -x-pack/platform/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security -x-pack/platform/test/usage_collection/plugins/application_usage_test @elastic/kibana-core -x-pack/platform/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana-management -x-pack/solutions/chat/packages/wc-framework-types-browser @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wc-framework-types-common @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wc-framework-types-server @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wc-genai-utils @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wc-index-schema-builder @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wc-integration-utils @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wci-browser @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wci-common @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/packages/wci-server @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/serverless_chat @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/wci-external-server @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/wci-index-source @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/wci-salesforce @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/workchat-app @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/chat/plugins/workchat-framework @elastic/search-kibana @elastic/workchat-eng -x-pack/solutions/observability/packages/alert-details @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/alerting-test-data @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/get-padded-alert-time-range-util @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops -x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team -x-pack/solutions/observability/packages/kbn-genai-cli @elastic/obs-knowledge-team -x-pack/solutions/observability/packages/kbn-observability-schema @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-scout-oblt @elastic/appex-qa -x-pack/solutions/observability/packages/observability-ai/observability-ai-common @elastic/obs-ai-assistant -x-pack/solutions/observability/packages/observability-ai/observability-ai-server @elastic/obs-ai-assistant -x-pack/solutions/observability/packages/synthetics-test-data @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/utils-browser @elastic/observability-ui -x-pack/solutions/observability/packages/utils-common @elastic/observability-ui -x-pack/solutions/observability/packages/utils-server @elastic/observability-ui -x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/metrics_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/observability @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/observability_ai_assistant_app @elastic/obs-ai-assistant -x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team -x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui -x-pack/solutions/observability/plugins/observability_streams_wrapper @elastic/streams-program-team -x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team -x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/synthetics @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/synthetics/e2e @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/uptime @elastic/obs-ux-management-team -x-pack/solutions/observability/plugins/ux @elastic/obs-ux-management-team -x-pack/solutions/observability/test -x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana -x-pack/solutions/search/packages/kbn-search-queries @elastic/search-kibana -x-pack/solutions/search/packages/shared-ui @elastic/search-kibana -x-pack/solutions/search/plugins/enterprise_search @elastic/search-kibana -x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana -x-pack/solutions/search/plugins/search_homepage @elastic/search-kibana -x-pack/solutions/search/plugins/search_indices @elastic/search-kibana -x-pack/solutions/search/plugins/search_inference_endpoints @elastic/search-kibana -x-pack/solutions/search/plugins/search_navigation @elastic/search-kibana -x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana -x-pack/solutions/search/plugins/search_playground @elastic/search-kibana -x-pack/solutions/search/plugins/search_query_rules @elastic/search-kibana -x-pack/solutions/search/plugins/search_synonyms @elastic/search-kibana -x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana -x-pack/solutions/search/test @elastic/search-kibana -x-pack/solutions/security/packages/ai-security-labs-content @elastic/security-generative-ai -x-pack/solutions/security/packages/connectors @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting -x-pack/solutions/security/packages/data-table @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/distribution-bar @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/ecs-data-quality-dashboard @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/features @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting -x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture -x-pack/solutions/security/packages/kbn-scout-security @elastic/appex-qa -x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine -x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine @elastic/security-detection-rule-management -x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/security-ai-prompts @elastic/security-generative-ai -x-pack/solutions/security/packages/side-nav @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-investigations -x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-investigations -x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture -x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-investigations -x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai -x-pack/solutions/security/plugins/elastic_assistant_shared_state @elastic/security-generative-ai -x-pack/solutions/security/plugins/lists @elastic/security-detection-engine -x-pack/solutions/security/plugins/security_solution @elastic/security-solution -x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution -x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution -x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture -x-pack/solutions/security/test -x-pack/test -x-pack/test_serverless -x-pack/test/cloud_integration/plugins/saml_provider @elastic/kibana-core -x-pack/test/plugin_functional/plugins/global_search_test @elastic/kibana-core -x-pack/test/plugin_functional/plugins/resolver_test @elastic/security-solution -x-pack/test/security_api_integration/packages/helpers @elastic/kibana-security -x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security -x-pack/test/security_api_integration/plugins/features_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security -x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kibana-security -x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security +packages/kbn-web-worker-stub @elastic/kibana-operations +packages/kbn-whereis-pkg-cli @elastic/kibana-operations +src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team +packages/kbn-yarn-lock-validator @elastic/kibana-operations +src/platform/packages/shared/kbn-zod @elastic/kibana-core +src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management #### ## Everything below this line overrides the default assignments for each package. ## Items lower in the file have higher precedence: @@ -1318,64 +1124,6 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela ^/src/platform/test/functional/fixtures/es_archiver/makelogs @elastic/kibana-data-discovery /x-pack/test/functional/fixtures/kbn_archiver/kibana_scripted_fields_on_logstash.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/x-pack/test/functional/apps/discover/async_scripted_fields.ts#L35 /x-pack/test/functional/fixtures/kbn_archiver/discover @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/unmapped_fields.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group7/_indexpattern_with_unmapped_fields.ts#L28 -/src/platform/test/functional/fixtures/kbn_archiver/testlargestring.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group5/_large_string.ts#L28 -/src/platform/test/functional/fixtures/kbn_archiver/message_with_newline.json @elastic/kibana-data-discovery # Assigned per only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/classic/_doc_table_newline.ts#L26 -/src/platform/test/functional/fixtures/kbn_archiver/invalid_scripted_field.json @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/index_pattern_without_timefield.json @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/discover @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/discover.json @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/date_nested.json @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/kbn_archiver/date_* @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/unmapped_fields @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group7/_indexpattern_with_unmapped_fields.ts#L26 -/src/platform/test/functional/fixtures/es_archiver/message_with_newline @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/classic/_doc_table_newline.ts#L24 -/src/platform/test/functional/fixtures/es_archiver/hamlet @elastic/kibana-data-discovery # Assigned per the only use: https://github.com/elastic/kibana/blob/main/test/functional/apps/discover/group5/_large_string.ts#L30 -/src/platform/test/api_integration/fixtures/kbn_archiver/index_patterns @elastic/kibana-data-discovery -/src/platform/test/api_integration/fixtures/es_archiver/index_patterns @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/alias @elastic/kibana-data-discovery -/src/platform/test/functional/page_objects/context_page.ts @elastic/kibana-data-discovery -/src/platform/test/functional/services/data_views.ts @elastic/kibana-data-discovery -/src/platform/test/functional/services/saved_objects_finder.ts @elastic/kibana-data-discovery -/src/platform/test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery -/src/platform/test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery -/src/platform/test/functional/page_objects/discover_page.ts @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/index_pattern_without_timefield @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/huge_fields @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/date_n* @elastic/kibana-data-discovery -/src/platform/test/functional/firefox/discover.config.ts @elastic/kibana-data-discovery -/src/platform/test/functional/fixtures/es_archiver/discover @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/saved_queries @elastic/kibana-data-discovery -/x-pack/platform/test/api_integration/apis/kibana/kql_telemetry @elastic/kibana-data-discovery @elastic/kibana-visualizations -/x-pack/test_serverless/functional/es_archives/pre_calculated_histogram @elastic/kibana-data-discovery -/x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern @elastic/kibana-data-discovery -/x-pack/test_serverless/functional/test_suites/security/config.examples.ts @elastic/kibana-data-discovery -/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts @elastic/kibana-data-discovery -/src/platform/test/accessibility/apps/discover.ts @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/data_views @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/data_view_field_editor @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/kql_telemetry @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/scripts @elastic/kibana-data-discovery -/src/platform/test/api_integration/apis/search @elastic/kibana-data-discovery -/src/platform/test/examples/data_view_field_editor_example @elastic/kibana-data-discovery -/src/platform/test/examples/discover_customization_examples @elastic/kibana-data-discovery -/src/platform/test/examples/field_formats @elastic/kibana-data-discovery -/src/platform/test/examples/partial_results @elastic/kibana-data-discovery -/src/platform/test/examples/search @elastic/kibana-data-discovery -/src/platform/test/examples/unified_field_list_examples @elastic/kibana-data-discovery -/src/platform/test/examples/unified_tabs_examples @elastic/kibana-data-discovery -/src/platform/test/functional/apps/context @elastic/kibana-data-discovery -/src/platform/test/functional/apps/discover @elastic/kibana-data-discovery -/src/platform/test/functional/apps/management/ccs_compatibility/_data_views_ccs.ts @elastic/kibana-data-discovery -/src/platform/test/functional/apps/management/data_views @elastic/kibana-data-discovery -/src/platform/test/plugin_functional/test_suites/data_plugin @elastic/kibana-data-discovery -/x-pack/test/accessibility/apps/group3/search_sessions.ts @elastic/kibana-data-discovery -/x-pack/platform/test/api_integration/apis/management/rollup/index_patterns_extensions.js @elastic/kibana-data-discovery -/x-pack/platform/test/api_integration/apis/search @elastic/kibana-data-discovery -/x-pack/platform/test/examples/search_examples @elastic/kibana-data-discovery -/x-pack/test/functional/apps/data_views @elastic/kibana-data-discovery -/x-pack/test/functional/apps/discover @elastic/kibana-data-discovery -/x-pack/platform/test/functional/apps/saved_query_management @elastic/kibana-data-discovery -/x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/discover @elastic/kibana-data-discovery /x-pack/platform/test/search_sessions_integration @elastic/kibana-data-discovery /x-pack/test/stack_functional_integration/apps/ccs/ccs_discover.js @elastic/kibana-data-discovery /x-pack/test/stack_functional_integration/apps/management/_index_pattern_create.js @elastic/kibana-data-discovery @@ -1663,7 +1411,7 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/test/stack_functional_integration/apps/apm @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team /x-pack/test/common/services/apm_synthtrace_kibana_client.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team /x-pack/platform/test/api_integration/services/apm_synthtrace_kibana_client.ts @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team -/src/platform/test/api_integration/apis/ui_metric/*.ts @elastic/obs-ux-infra_services-team +^/src/platform/test/api_integration/apis/ui_metric/*.ts @elastic/obs-ux-infra_services-team /x-pack/test/functional/apps/apm/ @elastic/obs-ux-infra_services-team /x-pack/solutions/observability/test/api_integration/apm/ @elastic/obs-ux-infra_services-team /x-pack/test/apm_cypress/ @elastic/obs-ux-infra_services-team @@ -1750,11 +1498,11 @@ x-pack/solutions/observability/plugins/observability/server/lib/esql_extensions /x-pack/test/functional/fixtures/kbn_archiver/maps.json @elastic/kibana-presentation /x-pack/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation /x-pack/test/functional/es_archives/dashboard/async_search @elastic/kibana-presentation -/src/platform/test/functional/fixtures/kbn_archiver/dashboard @elastic/kibana-presentation -/src/platform/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation -/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 +^/src/platform/test/functional/fixtures/kbn_archiver/dashboard @elastic/kibana-presentation +^/src/platform/test/functional/fixtures/kbn_archiver/canvas @elastic/kibana-presentation +^/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/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 @@ -1805,12 +1553,12 @@ 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/platform/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/platform/test/functional_with_es_ssl/apps/discover_ml/config.ts @elastic/ml-ui /x-pack/platform/test/functional_with_es_ssl/apps/discover_ml/ml/ @elastic/ml-ui /x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/ml_rule_types/ @elastic/ml-ui -/x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui @elastic/kibana-management +/x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui /x-pack/platform/test/screenshot_creation/apps/ml_docs @elastic/ml-ui /x-pack/platform/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui /x-pack/test_serverless/**/test_suites/**/ml/ @elastic/ml-ui @@ -1827,14 +1575,14 @@ x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security /x-pack/platform/test/api_integration/apis/transform/ @elastic/ml-ui /x-pack/platform/test/api_integration_basic/apis/aiops @elastic/ml-ui /x-pack/platform/test/api_integration_basic/apis/transform/ @elastic/ml-ui -/x-pack/test/api_integration/services/aiops.ts @elastic/ml-ui -/x-pack/test/api_integration/services/transform.ts @elastic/ml-ui @elastic/kibana-management -/x-pack/platform/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/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 +/x-pack/platform/test/functional/apps/aiops @elastic/ml-ui +/x-pack/test/functional/apps/transform/ @elastic/ml-ui +/x-pack/test/functional/es_archives/large_arrays @elastic/ml-ui # Assigned per usages +/x-pack/test/functional/services/transform/ @elastic/ml-ui +/x-pack/test/functional/services/aiops @elastic/ml-ui +/x-pack/test/functional_basic/apps/transform/ @elastic/ml-ui # Operations ^/src/platform/test/package @elastic/kibana-operations @@ -2291,7 +2039,6 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi /x-pack/platform/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops /x-pack/platform/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops @elastic/kibana-cases /x-pack/platform/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops -/x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops /x-pack/test/screenshot_creation/ @elastic/response-ops /x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops From b2752125a43c11593dd5e729e02501ac512f2764 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Tue, 15 Jul 2025 09:56:31 +0000 Subject: [PATCH 4/5] [CI] Auto-commit changed files from 'node scripts/lint_ts_projects --fix' --- x-pack/test/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 965d7f2aff6d5..7b9d3f34d60cb 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -137,16 +137,15 @@ "@kbn/response-ops-rule-params", "@kbn/scout-info", "@kbn/inference-common", - "@kbn/aiops-change-point-detection", "@kbn/apm-sources-access-plugin", "@kbn/es-errors", "@kbn/content-packs-schema", "@kbn/lock-manager", "@kbn/alerts-ui-shared", "@kbn/test-suites-xpack-platform", - "@kbn/core-chrome-browser", "@kbn/apm-sources-access-plugin", "@kbn/dev-proc-runner", "@kbn/core-provider-plugin", + "@kbn/management-settings-ids", ] } From 0f0a8010304660498ca30249c4120fa09828cb77 Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Tue, 15 Jul 2025 13:02:31 +0200 Subject: [PATCH 5/5] fix import --- .../apps/cases/group2/attachment_framework.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts index e25408cbaa07c..83f71942748df 100644 --- a/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts +++ b/x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts @@ -16,7 +16,11 @@ import { } from '@kbn/cases-plugin/common/types/domain'; import { expect } from 'expect'; import { AttachmentRequest } from '@kbn/cases-plugin/common/types/api'; -import { deleteAllCaseItems, findCases } from '../../../../cases_api_integration/common/lib/api'; +import { + deleteAllCaseItems, + findCases, + getCase, +} from '../../../../cases_api_integration/common/lib/api'; import { FtrProviderContext } from '../../../ftr_provider_context'; const ADD_TO_EXISTING_CASE_DATA_TEST_SUBJ = 'embeddablePanelAction-embeddable_addToExistingCase';