From 5aac9c5875e3569325e3718b5907f755367c5d3f Mon Sep 17 00:00:00 2001 From: Davis McPhee Date: Fri, 4 Aug 2023 17:21:13 -0300 Subject: [PATCH] Assign functional tests and example plugins code ownership to Data Discovery (#162740) ## Summary This PR assigns code ownership to the Data Discovery team for various functional tests as well as a couple of example plugins. All of the tests assigned to us in `CODEOWNERS` currently have no one else assigned to them. ### Checklist - [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)~ - [ ] ~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials~ - [ ] ~[Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios~ - [ ] ~Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/))~ - [ ] ~Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))~ - [ ] ~If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~ - [ ] ~This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))~ - [ ] ~This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)~ ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .github/CODEOWNERS | 41 +++++++++++++----- .../kibana.jsonc | 8 +--- .../_create_index_pattern_wizard.ts | 2 +- .../_data_view_create_delete.ts | 2 +- .../_data_view_relationships.ts | 2 +- .../{ => data_views}/_edit_field.ts | 2 +- .../_exclude_index_pattern.ts | 2 +- .../{ => data_views}/_field_formatter.ts | 4 +- .../{ => data_views}/_handle_alias.ts | 2 +- .../{ => data_views}/_handle_not_found.ts | 2 +- .../_handle_version_conflict.ts | 2 +- .../{ => data_views}/_index_pattern_filter.ts | 2 +- .../_index_pattern_popularity.ts | 2 +- .../_index_pattern_results_sort.ts | 2 +- .../{ => data_views}/_index_patterns_empty.ts | 2 +- .../{ => data_views}/_legacy_url_redirect.ts | 2 +- .../{ => data_views}/_runtime_fields.ts | 2 +- .../_runtime_fields_composite.ts | 2 +- .../{ => data_views}/_scripted_fields.ts | 2 +- .../_scripted_fields_classic_table.ts | 2 +- .../_scripted_fields_filter.ts | 2 +- .../_scripted_fields_preview.ts | 2 +- .../{ => data_views}/_test_huge_fields.ts | 2 +- test/functional/apps/management/index.ts | 42 +++++++++---------- .../plugins/data_search/kibana.jsonc | 2 +- .../plugins/index_patterns/kibana.jsonc | 2 +- 26 files changed, 77 insertions(+), 62 deletions(-) rename test/functional/apps/management/{ => data_views}/_create_index_pattern_wizard.ts (97%) rename test/functional/apps/management/{ => data_views}/_data_view_create_delete.ts (99%) rename test/functional/apps/management/{ => data_views}/_data_view_relationships.ts (95%) rename test/functional/apps/management/{ => data_views}/_edit_field.ts (97%) rename test/functional/apps/management/{ => data_views}/_exclude_index_pattern.ts (96%) rename test/functional/apps/management/{ => data_views}/_field_formatter.ts (99%) rename test/functional/apps/management/{ => data_views}/_handle_alias.ts (98%) rename test/functional/apps/management/{ => data_views}/_handle_not_found.ts (95%) rename test/functional/apps/management/{ => data_views}/_handle_version_conflict.ts (98%) rename test/functional/apps/management/{ => data_views}/_index_pattern_filter.ts (97%) rename test/functional/apps/management/{ => data_views}/_index_pattern_popularity.ts (97%) rename test/functional/apps/management/{ => data_views}/_index_pattern_results_sort.ts (97%) rename test/functional/apps/management/{ => data_views}/_index_patterns_empty.ts (97%) rename test/functional/apps/management/{ => data_views}/_legacy_url_redirect.ts (97%) rename test/functional/apps/management/{ => data_views}/_runtime_fields.ts (97%) rename test/functional/apps/management/{ => data_views}/_runtime_fields_composite.ts (98%) rename test/functional/apps/management/{ => data_views}/_scripted_fields.ts (99%) rename test/functional/apps/management/{ => data_views}/_scripted_fields_classic_table.ts (99%) rename test/functional/apps/management/{ => data_views}/_scripted_fields_filter.ts (97%) rename test/functional/apps/management/{ => data_views}/_scripted_fields_preview.ts (97%) rename test/functional/apps/management/{ => data_views}/_test_huge_fields.ts (95%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index eeae5ac8346ab..f38621c5f5d52 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -301,10 +301,10 @@ packages/kbn-cypress-config @elastic/kibana-operations x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation src/plugins/dashboard @elastic/kibana-presentation src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery -test/plugin_functional/plugins/data_search @elastic/kibana-app-services +test/plugin_functional/plugins/data_search @elastic/kibana-data-discovery packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/data_view_editor @elastic/kibana-data-discovery -examples/data_view_field_editor_example @elastic/kibana-app-services +examples/data_view_field_editor_example @elastic/kibana-data-discovery src/plugins/data_view_field_editor @elastic/kibana-data-discovery src/plugins/data_view_management @elastic/kibana-data-discovery src/plugins/data_views @elastic/kibana-data-discovery @@ -434,7 +434,7 @@ packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations x-pack/plugins/index_lifecycle_management @elastic/platform-deployment-management x-pack/plugins/index_management @elastic/platform-deployment-management -test/plugin_functional/plugins/index_patterns @elastic/kibana-app-services +test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery x-pack/packages/kbn-infra-forge @elastic/actionable-observability x-pack/plugins/infra @elastic/infra-monitoring-ui x-pack/plugins/ingest_pipelines @elastic/platform-deployment-management @@ -789,15 +789,34 @@ packages/kbn-yarn-lock-validator @elastic/kibana-operations # used for the 'team' designator within Kibana Stats # Data Discovery -/x-pack/test/functional/apps/discover/ @elastic/kibana-data-discovery -/x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/ @elastic/kibana-data-discovery -/test/functional/apps/discover/ @elastic/kibana-data-discovery -/test/functional/apps/context/ @elastic/kibana-data-discovery -/test/api_integration/apis/unified_field_list/ @elastic/kibana-data-discovery -/x-pack/test/search_sessions_integration/ @elastic/kibana-data-discovery -/test/plugin_functional/test_suites/data_plugin @elastic/kibana-data-discovery -/examples/demo_search/ @elastic/kibana-data-discovery +/test/accessibility/apps/discover.ts @elastic/kibana-data-discovery +/test/api_integration/apis/data_views @elastic/kibana-data-discovery +/test/api_integration/apis/data_view_field_editor @elastic/kibana-data-discovery +/test/api_integration/apis/kql_telemetry @elastic/kibana-data-discovery +/test/api_integration/apis/scripts @elastic/kibana-data-discovery +/test/api_integration/apis/search @elastic/kibana-data-discovery +/test/examples/data_view_field_editor_example @elastic/kibana-data-discovery /test/examples/discover_customization_examples @elastic/kibana-data-discovery +/test/examples/field_formats @elastic/kibana-data-discovery +/test/examples/partial_results @elastic/kibana-data-discovery +/test/examples/search @elastic/kibana-data-discovery +/test/examples/unified_field_list_examples @elastic/kibana-data-discovery +/test/functional/apps/context @elastic/kibana-data-discovery +/test/functional/apps/discover @elastic/kibana-data-discovery +/test/functional/apps/management/ccs_compatibility/_data_views_ccs.ts @elastic/kibana-data-discovery +/test/functional/apps/management/data_views @elastic/kibana-data-discovery +/test/plugin_functional/test_suites/data_plugin @elastic/kibana-data-discovery +/x-pack/test/accessibility/apps/search_sessions.ts @elastic/kibana-data-discovery +/x-pack/test/api_integration/apis/management/rollup/index_patterns_extensions.js @elastic/kibana-data-discovery +/x-pack/test/api_integration/apis/search @elastic/kibana-data-discovery +/x-pack/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/test/functional_with_es_ssl/apps/discover_ml_uptime/discover @elastic/kibana-data-discovery +/x-pack/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 +/x-pack/test/upgrade/apps/discover @elastic/kibana-data-discovery # Vis Editors /src/plugins/visualize/ @elastic/kibana-visualizations diff --git a/examples/data_view_field_editor_example/kibana.jsonc b/examples/data_view_field_editor_example/kibana.jsonc index 7ca538fd509e0..c69c4880f2a4a 100644 --- a/examples/data_view_field_editor_example/kibana.jsonc +++ b/examples/data_view_field_editor_example/kibana.jsonc @@ -1,16 +1,12 @@ { "type": "plugin", "id": "@kbn/data-view-field-editor-example-plugin", - "owner": "@elastic/kibana-app-services", + "owner": "@elastic/kibana-data-discovery", "description": "Data view field editor example app", "plugin": { "id": "dataViewFieldEditorExample", "server": false, "browser": true, - "requiredPlugins": [ - "data", - "dataViewFieldEditor", - "developerExamples" - ] + "requiredPlugins": ["data", "dataViewFieldEditor", "developerExamples"] } } diff --git a/test/functional/apps/management/_create_index_pattern_wizard.ts b/test/functional/apps/management/data_views/_create_index_pattern_wizard.ts similarity index 97% rename from test/functional/apps/management/_create_index_pattern_wizard.ts rename to test/functional/apps/management/data_views/_create_index_pattern_wizard.ts index cf732e178aa74..f6ba7a92428cc 100644 --- a/test/functional/apps/management/_create_index_pattern_wizard.ts +++ b/test/functional/apps/management/data_views/_create_index_pattern_wizard.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_data_view_create_delete.ts b/test/functional/apps/management/data_views/_data_view_create_delete.ts similarity index 99% rename from test/functional/apps/management/_data_view_create_delete.ts rename to test/functional/apps/management/data_views/_data_view_create_delete.ts index cf33acf414932..edf2f000fcb27 100644 --- a/test/functional/apps/management/_data_view_create_delete.ts +++ b/test/functional/apps/management/data_views/_data_view_create_delete.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/management/_data_view_relationships.ts b/test/functional/apps/management/data_views/_data_view_relationships.ts similarity index 95% rename from test/functional/apps/management/_data_view_relationships.ts rename to test/functional/apps/management/data_views/_data_view_relationships.ts index 680500f58a60c..81c560381d08e 100644 --- a/test/functional/apps/management/_data_view_relationships.ts +++ b/test/functional/apps/management/data_views/_data_view_relationships.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_edit_field.ts b/test/functional/apps/management/data_views/_edit_field.ts similarity index 97% rename from test/functional/apps/management/_edit_field.ts rename to test/functional/apps/management/data_views/_edit_field.ts index f7ee986067196..9ed7c174c32a9 100644 --- a/test/functional/apps/management/_edit_field.ts +++ b/test/functional/apps/management/data_views/_edit_field.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_exclude_index_pattern.ts b/test/functional/apps/management/data_views/_exclude_index_pattern.ts similarity index 96% rename from test/functional/apps/management/_exclude_index_pattern.ts rename to test/functional/apps/management/data_views/_exclude_index_pattern.ts index 6a895efb3632f..d3284c64728ba 100644 --- a/test/functional/apps/management/_exclude_index_pattern.ts +++ b/test/functional/apps/management/data_views/_exclude_index_pattern.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['settings']); diff --git a/test/functional/apps/management/_field_formatter.ts b/test/functional/apps/management/data_views/_field_formatter.ts similarity index 99% rename from test/functional/apps/management/_field_formatter.ts rename to test/functional/apps/management/data_views/_field_formatter.ts index 98b4f6da78018..881ba6197510a 100644 --- a/test/functional/apps/management/_field_formatter.ts +++ b/test/functional/apps/management/data_views/_field_formatter.ts @@ -8,8 +8,8 @@ import { ES_FIELD_TYPES } from '@kbn/field-types'; import expect from '@kbn/expect'; import { FIELD_FORMAT_IDS } from '@kbn/field-formats-plugin/common'; -import { FtrProviderContext } from '../../ftr_provider_context'; -import { WebElementWrapper } from '../../services/lib/web_element_wrapper'; +import { FtrProviderContext } from '../../../ftr_provider_context'; +import { WebElementWrapper } from '../../../services/lib/web_element_wrapper'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_handle_alias.ts b/test/functional/apps/management/data_views/_handle_alias.ts similarity index 98% rename from test/functional/apps/management/_handle_alias.ts rename to test/functional/apps/management/data_views/_handle_alias.ts index 6f33d36e1dfc7..ba9459c0fa47e 100644 --- a/test/functional/apps/management/_handle_alias.ts +++ b/test/functional/apps/management/data_views/_handle_alias.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/management/_handle_not_found.ts b/test/functional/apps/management/data_views/_handle_not_found.ts similarity index 95% rename from test/functional/apps/management/_handle_not_found.ts rename to test/functional/apps/management/data_views/_handle_not_found.ts index 63b5adec234be..1cc13ad4f85d0 100644 --- a/test/functional/apps/management/_handle_not_found.ts +++ b/test/functional/apps/management/data_views/_handle_not_found.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/management/_handle_version_conflict.ts b/test/functional/apps/management/data_views/_handle_version_conflict.ts similarity index 98% rename from test/functional/apps/management/_handle_version_conflict.ts rename to test/functional/apps/management/data_views/_handle_version_conflict.ts index c2f9f3f7e6393..bcbd81c48209f 100644 --- a/test/functional/apps/management/_handle_version_conflict.ts +++ b/test/functional/apps/management/data_views/_handle_version_conflict.ts @@ -17,7 +17,7 @@ import expect from '@kbn/expect'; import { ANALYTICS_SAVED_OBJECT_INDEX } from '@kbn/core-saved-objects-server'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); diff --git a/test/functional/apps/management/_index_pattern_filter.ts b/test/functional/apps/management/data_views/_index_pattern_filter.ts similarity index 97% rename from test/functional/apps/management/_index_pattern_filter.ts rename to test/functional/apps/management/data_views/_index_pattern_filter.ts index 0503ac2e4bf61..1600b76009ee1 100644 --- a/test/functional/apps/management/_index_pattern_filter.ts +++ b/test/functional/apps/management/data_views/_index_pattern_filter.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_index_pattern_popularity.ts b/test/functional/apps/management/data_views/_index_pattern_popularity.ts similarity index 97% rename from test/functional/apps/management/_index_pattern_popularity.ts rename to test/functional/apps/management/data_views/_index_pattern_popularity.ts index bff6cdce0f7a6..ac95db2d5cad2 100644 --- a/test/functional/apps/management/_index_pattern_popularity.ts +++ b/test/functional/apps/management/data_views/_index_pattern_popularity.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_index_pattern_results_sort.ts b/test/functional/apps/management/data_views/_index_pattern_results_sort.ts similarity index 97% rename from test/functional/apps/management/_index_pattern_results_sort.ts rename to test/functional/apps/management/data_views/_index_pattern_results_sort.ts index 803ad21aa1bd4..71dc85eed1f0e 100644 --- a/test/functional/apps/management/_index_pattern_results_sort.ts +++ b/test/functional/apps/management/data_views/_index_pattern_results_sort.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_index_patterns_empty.ts b/test/functional/apps/management/data_views/_index_patterns_empty.ts similarity index 97% rename from test/functional/apps/management/_index_patterns_empty.ts rename to test/functional/apps/management/data_views/_index_patterns_empty.ts index ad3f777617042..faf57f2368ccd 100644 --- a/test/functional/apps/management/_index_patterns_empty.ts +++ b/test/functional/apps/management/data_views/_index_patterns_empty.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/management/_legacy_url_redirect.ts b/test/functional/apps/management/data_views/_legacy_url_redirect.ts similarity index 97% rename from test/functional/apps/management/_legacy_url_redirect.ts rename to test/functional/apps/management/data_views/_legacy_url_redirect.ts index 1dfeb0ec492fd..0c0f292d6f736 100644 --- a/test/functional/apps/management/_legacy_url_redirect.ts +++ b/test/functional/apps/management/data_views/_legacy_url_redirect.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/management/_runtime_fields.ts b/test/functional/apps/management/data_views/_runtime_fields.ts similarity index 97% rename from test/functional/apps/management/_runtime_fields.ts rename to test/functional/apps/management/data_views/_runtime_fields.ts index 913536200f7d2..d6aca3a88c925 100644 --- a/test/functional/apps/management/_runtime_fields.ts +++ b/test/functional/apps/management/data_views/_runtime_fields.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_runtime_fields_composite.ts b/test/functional/apps/management/data_views/_runtime_fields_composite.ts similarity index 98% rename from test/functional/apps/management/_runtime_fields_composite.ts rename to test/functional/apps/management/data_views/_runtime_fields_composite.ts index 52a160e4c2fbc..88c6b2b05b4d5 100644 --- a/test/functional/apps/management/_runtime_fields_composite.ts +++ b/test/functional/apps/management/data_views/_runtime_fields_composite.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_scripted_fields.ts b/test/functional/apps/management/data_views/_scripted_fields.ts similarity index 99% rename from test/functional/apps/management/_scripted_fields.ts rename to test/functional/apps/management/data_views/_scripted_fields.ts index 5c793b9df6b7b..5bbbc85488d28 100644 --- a/test/functional/apps/management/_scripted_fields.ts +++ b/test/functional/apps/management/data_views/_scripted_fields.ts @@ -23,7 +23,7 @@ // it will automatically insert a a closing square brace ], etc. import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_scripted_fields_classic_table.ts b/test/functional/apps/management/data_views/_scripted_fields_classic_table.ts similarity index 99% rename from test/functional/apps/management/_scripted_fields_classic_table.ts rename to test/functional/apps/management/data_views/_scripted_fields_classic_table.ts index 0e861d5b58f90..a2fbcb43cfe5b 100644 --- a/test/functional/apps/management/_scripted_fields_classic_table.ts +++ b/test/functional/apps/management/data_views/_scripted_fields_classic_table.ts @@ -23,7 +23,7 @@ // it will automatically insert a a closing square brace ], etc. import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_scripted_fields_filter.ts b/test/functional/apps/management/data_views/_scripted_fields_filter.ts similarity index 97% rename from test/functional/apps/management/_scripted_fields_filter.ts rename to test/functional/apps/management/data_views/_scripted_fields_filter.ts index bfd881d1e1149..7204922b35c8c 100644 --- a/test/functional/apps/management/_scripted_fields_filter.ts +++ b/test/functional/apps/management/data_views/_scripted_fields_filter.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); diff --git a/test/functional/apps/management/_scripted_fields_preview.ts b/test/functional/apps/management/data_views/_scripted_fields_preview.ts similarity index 97% rename from test/functional/apps/management/_scripted_fields_preview.ts rename to test/functional/apps/management/data_views/_scripted_fields_preview.ts index 380b4659c0f38..3d978cff2e34e 100644 --- a/test/functional/apps/management/_scripted_fields_preview.ts +++ b/test/functional/apps/management/data_views/_scripted_fields_preview.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/management/_test_huge_fields.ts b/test/functional/apps/management/data_views/_test_huge_fields.ts similarity index 95% rename from test/functional/apps/management/_test_huge_fields.ts rename to test/functional/apps/management/data_views/_test_huge_fields.ts index 733de62cac68c..afef7d62f0cc7 100644 --- a/test/functional/apps/management/_test_huge_fields.ts +++ b/test/functional/apps/management/data_views/_test_huge_fields.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/management/index.ts b/test/functional/apps/management/index.ts index 3099a3cb9b0da..85de9b5de0926 100644 --- a/test/functional/apps/management/index.ts +++ b/test/functional/apps/management/index.ts @@ -21,30 +21,30 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { await esArchiver.unload('test/functional/fixtures/es_archiver/makelogs'); }); - loadTestFile(require.resolve('./_create_index_pattern_wizard')); - loadTestFile(require.resolve('./_data_view_create_delete')); - loadTestFile(require.resolve('./_index_pattern_results_sort')); - loadTestFile(require.resolve('./_index_pattern_popularity')); + loadTestFile(require.resolve('./data_views/_create_index_pattern_wizard')); + loadTestFile(require.resolve('./data_views/_data_view_create_delete')); + loadTestFile(require.resolve('./data_views/_index_pattern_results_sort')); + loadTestFile(require.resolve('./data_views/_index_pattern_popularity')); loadTestFile(require.resolve('./_kibana_settings')); - loadTestFile(require.resolve('./_scripted_fields_preview')); + loadTestFile(require.resolve('./data_views/_scripted_fields_preview')); loadTestFile(require.resolve('./_mgmt_import_saved_objects')); - loadTestFile(require.resolve('./_index_patterns_empty')); - loadTestFile(require.resolve('./_scripted_fields')); - loadTestFile(require.resolve('./_scripted_fields_classic_table')); - loadTestFile(require.resolve('./_runtime_fields')); - loadTestFile(require.resolve('./_runtime_fields_composite')); - loadTestFile(require.resolve('./_field_formatter')); - loadTestFile(require.resolve('./_legacy_url_redirect')); - loadTestFile(require.resolve('./_exclude_index_pattern')); - loadTestFile(require.resolve('./_index_pattern_filter')); - loadTestFile(require.resolve('./_scripted_fields_filter')); + loadTestFile(require.resolve('./data_views/_index_patterns_empty')); + loadTestFile(require.resolve('./data_views/_scripted_fields')); + loadTestFile(require.resolve('./data_views/_scripted_fields_classic_table')); + loadTestFile(require.resolve('./data_views/_runtime_fields')); + loadTestFile(require.resolve('./data_views/_runtime_fields_composite')); + loadTestFile(require.resolve('./data_views/_field_formatter')); + loadTestFile(require.resolve('./data_views/_legacy_url_redirect')); + loadTestFile(require.resolve('./data_views/_exclude_index_pattern')); + loadTestFile(require.resolve('./data_views/_index_pattern_filter')); + loadTestFile(require.resolve('./data_views/_scripted_fields_filter')); loadTestFile(require.resolve('./_import_objects')); - loadTestFile(require.resolve('./_test_huge_fields')); - loadTestFile(require.resolve('./_handle_alias')); - loadTestFile(require.resolve('./_handle_version_conflict')); - loadTestFile(require.resolve('./_handle_not_found')); - loadTestFile(require.resolve('./_data_view_relationships')); - loadTestFile(require.resolve('./_edit_field')); + loadTestFile(require.resolve('./data_views/_test_huge_fields')); + loadTestFile(require.resolve('./data_views/_handle_alias')); + loadTestFile(require.resolve('./data_views/_handle_version_conflict')); + loadTestFile(require.resolve('./data_views/_handle_not_found')); + loadTestFile(require.resolve('./data_views/_data_view_relationships')); + loadTestFile(require.resolve('./data_views/_edit_field')); loadTestFile(require.resolve('./_files')); loadTestFile(require.resolve('./_data_view_field_filters')); }); diff --git a/test/plugin_functional/plugins/data_search/kibana.jsonc b/test/plugin_functional/plugins/data_search/kibana.jsonc index 4c19f3d22e529..e4fa56293d282 100644 --- a/test/plugin_functional/plugins/data_search/kibana.jsonc +++ b/test/plugin_functional/plugins/data_search/kibana.jsonc @@ -1,7 +1,7 @@ { "type": "plugin", "id": "@kbn/data-search-plugin", - "owner": "@elastic/kibana-app-services", + "owner": "@elastic/kibana-data-discovery", "plugin": { "id": "dataSearchPlugin", "server": true, diff --git a/test/plugin_functional/plugins/index_patterns/kibana.jsonc b/test/plugin_functional/plugins/index_patterns/kibana.jsonc index 15f6f27c03a37..6163f7c961dcd 100644 --- a/test/plugin_functional/plugins/index_patterns/kibana.jsonc +++ b/test/plugin_functional/plugins/index_patterns/kibana.jsonc @@ -1,7 +1,7 @@ { "type": "plugin", "id": "@kbn/index-patterns-test-plugin", - "owner": "@elastic/kibana-app-services", + "owner": "@elastic/kibana-data-discovery", "description": "Index pattern test plugin", "plugin": { "id": "indexPatternsTestPlugin",