From c4e0413086fc9136c4200d9b54a9d9155c190162 Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Mon, 15 Nov 2021 21:45:16 +0200 Subject: [PATCH] [Cases] Rename functional tests folder (#118490) --- .github/CODEOWNERS | 2 +- x-pack/plugins/cases/common/constants.ts | 2 +- x-pack/scripts/functional_tests.js | 6 +++--- .../apis/security_solution/cases_privileges.ts | 8 ++++---- .../apis/security_solution/cases_privileges.ts | 8 ++++---- .../common/config.ts | 0 .../common/fixtures/plugins/cases_client_user/kibana.json | 0 .../fixtures/plugins/cases_client_user/package.json | 0 .../fixtures/plugins/cases_client_user/server/index.ts | 0 .../fixtures/plugins/cases_client_user/server/plugin.ts | 0 .../common/fixtures/plugins/observability/kibana.json | 0 .../common/fixtures/plugins/observability/package.json | 0 .../common/fixtures/plugins/observability/server/index.ts | 0 .../fixtures/plugins/observability/server/plugin.ts | 0 .../common/fixtures/plugins/security_solution/kibana.json | 0 .../fixtures/plugins/security_solution/package.json | 0 .../fixtures/plugins/security_solution/server/index.ts | 0 .../fixtures/plugins/security_solution/server/plugin.ts | 0 .../single_case_user_actions_one_comment.ndjson | 0 .../single_case_with_connector_update_to_none.ndjson | 0 .../common/ftr_provider_context.d.ts | 0 .../common/lib/authentication/index.ts | 0 .../common/lib/authentication/roles.ts | 0 .../common/lib/authentication/spaces.ts | 0 .../common/lib/authentication/types.ts | 0 .../common/lib/authentication/users.ts | 0 .../common/lib/mock.ts | 0 .../common/lib/utils.ts | 0 .../common/lib/validation.ts | 0 .../common/services.ts | 0 .../security_and_spaces/config_basic.ts | 0 .../security_and_spaces/config_trial.ts | 0 .../security_and_spaces/tests/basic/cases/push_case.ts | 0 .../tests/basic/configure/create_connector.ts | 0 .../security_and_spaces/tests/basic/index.ts | 0 .../tests/common/alerts/get_alerts_attached_to_case.ts | 0 .../security_and_spaces/tests/common/alerts/get_cases.ts | 0 .../tests/common/cases/delete_cases.ts | 0 .../security_and_spaces/tests/common/cases/find_cases.ts | 0 .../security_and_spaces/tests/common/cases/get_case.ts | 0 .../tests/common/cases/import_export.ts | 0 .../security_and_spaces/tests/common/cases/migrations.ts | 0 .../security_and_spaces/tests/common/cases/patch_cases.ts | 0 .../security_and_spaces/tests/common/cases/post_case.ts | 0 .../tests/common/cases/reporters/get_reporters.ts | 0 .../tests/common/cases/resolve_case.ts | 0 .../tests/common/cases/status/get_status.ts | 0 .../tests/common/cases/tags/get_tags.ts | 0 .../tests/common/client/update_alert_status.ts | 0 .../tests/common/comments/delete_comment.ts | 0 .../tests/common/comments/find_comments.ts | 0 .../tests/common/comments/get_all_comments.ts | 0 .../tests/common/comments/get_comment.ts | 0 .../tests/common/comments/migrations.ts | 0 .../tests/common/comments/patch_comment.ts | 0 .../tests/common/comments/post_comment.ts | 0 .../tests/common/configure/get_configure.ts | 0 .../tests/common/configure/get_connectors.ts | 0 .../tests/common/configure/migrations.ts | 0 .../tests/common/configure/patch_configure.ts | 0 .../tests/common/configure/post_configure.ts | 0 .../security_and_spaces/tests/common/connectors/case.ts | 0 .../security_and_spaces/tests/common/index.ts | 0 .../security_and_spaces/tests/common/migrations.ts | 0 .../tests/common/sub_cases/delete_sub_cases.ts | 0 .../tests/common/sub_cases/find_sub_cases.ts | 0 .../tests/common/sub_cases/get_sub_case.ts | 0 .../tests/common/sub_cases/patch_sub_cases.ts | 0 .../tests/common/user_actions/get_all_user_actions.ts | 0 .../tests/common/user_actions/migrations.ts | 0 .../security_and_spaces/tests/trial/cases/push_case.ts | 0 .../trial/cases/user_actions/get_all_user_actions.ts | 0 .../tests/trial/configure/get_configure.ts | 0 .../tests/trial/configure/get_connectors.ts | 0 .../security_and_spaces/tests/trial/configure/index.ts | 0 .../tests/trial/configure/patch_configure.ts | 0 .../tests/trial/configure/post_configure.ts | 0 .../security_and_spaces/tests/trial/index.ts | 0 .../spaces_only/config.ts | 0 .../spaces_only/tests/common/alerts/get_cases.ts | 0 .../spaces_only/tests/common/cases/delete_cases.ts | 0 .../spaces_only/tests/common/cases/find_cases.ts | 0 .../spaces_only/tests/common/cases/get_case.ts | 0 .../spaces_only/tests/common/cases/patch_cases.ts | 0 .../spaces_only/tests/common/cases/post_case.ts | 0 .../tests/common/cases/reporters/get_reporters.ts | 0 .../spaces_only/tests/common/cases/status/get_status.ts | 0 .../spaces_only/tests/common/cases/tags/get_tags.ts | 0 .../spaces_only/tests/common/comments/delete_comment.ts | 0 .../spaces_only/tests/common/comments/find_comments.ts | 0 .../spaces_only/tests/common/comments/get_all_comments.ts | 0 .../spaces_only/tests/common/comments/get_comment.ts | 0 .../spaces_only/tests/common/comments/patch_comment.ts | 0 .../spaces_only/tests/common/comments/post_comment.ts | 0 .../spaces_only/tests/common/configure/get_configure.ts | 0 .../spaces_only/tests/common/configure/patch_configure.ts | 0 .../spaces_only/tests/common/configure/post_configure.ts | 0 .../spaces_only/tests/common/index.ts | 0 .../tests/common/user_actions/get_all_user_actions.ts | 0 .../spaces_only/tests/trial/cases/push_case.ts | 0 .../spaces_only/tests/trial/configure/get_configure.ts | 0 .../spaces_only/tests/trial/configure/get_connectors.ts | 0 .../spaces_only/tests/trial/configure/index.ts | 0 .../spaces_only/tests/trial/configure/patch_configure.ts | 0 .../spaces_only/tests/trial/configure/post_configure.ts | 0 .../spaces_only/tests/trial/index.ts | 0 106 files changed, 13 insertions(+), 13 deletions(-) rename x-pack/test/{case_api_integration => cases_api_integration}/common/config.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/cases_client_user/kibana.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/cases_client_user/package.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/cases_client_user/server/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/cases_client_user/server/plugin.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/observability/kibana.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/observability/package.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/observability/server/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/observability/server/plugin.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/security_solution/kibana.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/security_solution/package.json (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/security_solution/server/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/plugins/security_solution/server/plugin.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/saved_object_exports/single_case_user_actions_one_comment.ndjson (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/fixtures/saved_object_exports/single_case_with_connector_update_to_none.ndjson (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/ftr_provider_context.d.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/authentication/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/authentication/roles.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/authentication/spaces.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/authentication/types.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/authentication/users.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/mock.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/utils.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/lib/validation.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/common/services.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/config_basic.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/config_trial.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/basic/cases/push_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/basic/configure/create_connector.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/basic/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/alerts/get_alerts_attached_to_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/alerts/get_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/delete_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/find_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/get_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/import_export.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/migrations.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/patch_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/post_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/reporters/get_reporters.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/resolve_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/status/get_status.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/cases/tags/get_tags.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/client/update_alert_status.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/delete_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/find_comments.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/get_all_comments.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/get_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/migrations.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/patch_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/comments/post_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/configure/get_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/configure/get_connectors.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/configure/migrations.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/configure/patch_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/configure/post_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/connectors/case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/migrations.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/sub_cases/delete_sub_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/sub_cases/find_sub_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/sub_cases/get_sub_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/sub_cases/patch_sub_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/user_actions/get_all_user_actions.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/common/user_actions/migrations.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/cases/push_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/cases/user_actions/get_all_user_actions.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/configure/get_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/configure/get_connectors.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/configure/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/configure/patch_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/configure/post_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/security_and_spaces/tests/trial/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/config.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/alerts/get_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/delete_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/find_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/get_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/patch_cases.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/post_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/reporters/get_reporters.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/status/get_status.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/cases/tags/get_tags.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/delete_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/find_comments.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/get_all_comments.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/get_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/patch_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/comments/post_comment.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/configure/get_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/configure/patch_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/configure/post_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/common/user_actions/get_all_user_actions.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/cases/push_case.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/configure/get_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/configure/get_connectors.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/configure/index.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/configure/patch_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/configure/post_configure.ts (100%) rename x-pack/test/{case_api_integration => cases_api_integration}/spaces_only/tests/trial/index.ts (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 293d854a6b41e..bd5aa47c79034 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -397,7 +397,7 @@ # Security Solution sub teams /x-pack/plugins/cases @elastic/security-threat-hunting /x-pack/plugins/timelines @elastic/security-threat-hunting -/x-pack/test/case_api_integration @elastic/security-threat-hunting +/x-pack/test/cases_api_integration @elastic/security-threat-hunting /x-pack/plugins/lists @elastic/security-detections-response ## Security Solution sub teams - security-onboarding-and-lifecycle-mgt diff --git a/x-pack/plugins/cases/common/constants.ts b/x-pack/plugins/cases/common/constants.ts index b699b4ff7c5cf..0eb2917c3495e 100644 --- a/x-pack/plugins/cases/common/constants.ts +++ b/x-pack/plugins/cases/common/constants.ts @@ -19,7 +19,7 @@ export const CASE_COMMENT_SAVED_OBJECT = 'cases-comments'; export const CASE_CONFIGURE_SAVED_OBJECT = 'cases-configure'; /** - * If more values are added here please also add them here: x-pack/test/case_api_integration/common/fixtures/plugins + * If more values are added here please also add them here: x-pack/test/cases_api_integration/common/fixtures/plugins */ export const SAVED_OBJECT_TYPES = [ CASE_SAVED_OBJECT, diff --git a/x-pack/scripts/functional_tests.js b/x-pack/scripts/functional_tests.js index 77212274b6ade..1d0be47cb8108 100644 --- a/x-pack/scripts/functional_tests.js +++ b/x-pack/scripts/functional_tests.js @@ -33,9 +33,9 @@ const onlyNotInCoverageTests = [ require.resolve('../test/alerting_api_integration/basic/config.ts'), require.resolve('../test/alerting_api_integration/spaces_only/config.ts'), require.resolve('../test/alerting_api_integration/security_and_spaces/config.ts'), - require.resolve('../test/case_api_integration/security_and_spaces/config_basic.ts'), - require.resolve('../test/case_api_integration/security_and_spaces/config_trial.ts'), - require.resolve('../test/case_api_integration/spaces_only/config.ts'), + require.resolve('../test/cases_api_integration/security_and_spaces/config_basic.ts'), + require.resolve('../test/cases_api_integration/security_and_spaces/config_trial.ts'), + require.resolve('../test/cases_api_integration/spaces_only/config.ts'), require.resolve('../test/apm_api_integration/basic/config.ts'), require.resolve('../test/apm_api_integration/trial/config.ts'), require.resolve('../test/apm_api_integration/rules/config.ts'), diff --git a/x-pack/test/api_integration/apis/security_solution/cases_privileges.ts b/x-pack/test/api_integration/apis/security_solution/cases_privileges.ts index c3bc143d88ac1..e9c00318592c5 100644 --- a/x-pack/test/api_integration/apis/security_solution/cases_privileges.ts +++ b/x-pack/test/api_integration/apis/security_solution/cases_privileges.ts @@ -11,15 +11,15 @@ import { FtrProviderContext } from '../../ftr_provider_context'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '../../../case_api_integration/common/lib/authentication'; +} from '../../../cases_api_integration/common/lib/authentication'; -import { Role, User } from '../../../case_api_integration/common/lib/authentication/types'; +import { Role, User } from '../../../cases_api_integration/common/lib/authentication/types'; import { createCase, deleteAllCaseItems, getCase, -} from '../../../case_api_integration/common/lib/utils'; -import { getPostCaseRequest } from '../../../case_api_integration/common/lib/mock'; +} from '../../../cases_api_integration/common/lib/utils'; +import { getPostCaseRequest } from '../../../cases_api_integration/common/lib/mock'; import { APP_ID } from '../../../../plugins/security_solution/common/constants'; const secAll: Role = { diff --git a/x-pack/test/api_integration_basic/apis/security_solution/cases_privileges.ts b/x-pack/test/api_integration_basic/apis/security_solution/cases_privileges.ts index 787b2cd7bca5e..14a45b451b94f 100644 --- a/x-pack/test/api_integration_basic/apis/security_solution/cases_privileges.ts +++ b/x-pack/test/api_integration_basic/apis/security_solution/cases_privileges.ts @@ -11,15 +11,15 @@ import { FtrProviderContext } from '../../ftr_provider_context'; import { createUsersAndRoles, deleteUsersAndRoles, -} from '../../../case_api_integration/common/lib/authentication'; +} from '../../../cases_api_integration/common/lib/authentication'; -import { Role, User } from '../../../case_api_integration/common/lib/authentication/types'; +import { Role, User } from '../../../cases_api_integration/common/lib/authentication/types'; import { createCase, deleteAllCaseItems, getCase, -} from '../../../case_api_integration/common/lib/utils'; -import { getPostCaseRequest } from '../../../case_api_integration/common/lib/mock'; +} from '../../../cases_api_integration/common/lib/utils'; +import { getPostCaseRequest } from '../../../cases_api_integration/common/lib/mock'; import { APP_ID } from '../../../../plugins/security_solution/common/constants'; const secAll: Role = { diff --git a/x-pack/test/case_api_integration/common/config.ts b/x-pack/test/cases_api_integration/common/config.ts similarity index 100% rename from x-pack/test/case_api_integration/common/config.ts rename to x-pack/test/cases_api_integration/common/config.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/kibana.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/kibana.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/kibana.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/kibana.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/package.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/package.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/package.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/package.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/server/index.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/server/index.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/server/index.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/server/index.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/server/plugin.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/server/plugin.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/cases_client_user/server/plugin.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/cases_client_user/server/plugin.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/observability/kibana.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/observability/kibana.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/observability/kibana.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/observability/kibana.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/observability/package.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/observability/package.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/observability/package.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/observability/package.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/observability/server/index.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/observability/server/index.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/observability/server/index.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/observability/server/index.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/observability/server/plugin.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/observability/server/plugin.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/observability/server/plugin.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/observability/server/plugin.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/kibana.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/kibana.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/kibana.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/kibana.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/package.json b/x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/package.json similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/package.json rename to x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/package.json diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/server/index.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/server/index.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/server/index.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/server/index.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/server/plugin.ts b/x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/server/plugin.ts similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/plugins/security_solution/server/plugin.ts rename to x-pack/test/cases_api_integration/common/fixtures/plugins/security_solution/server/plugin.ts diff --git a/x-pack/test/case_api_integration/common/fixtures/saved_object_exports/single_case_user_actions_one_comment.ndjson b/x-pack/test/cases_api_integration/common/fixtures/saved_object_exports/single_case_user_actions_one_comment.ndjson similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/saved_object_exports/single_case_user_actions_one_comment.ndjson rename to x-pack/test/cases_api_integration/common/fixtures/saved_object_exports/single_case_user_actions_one_comment.ndjson diff --git a/x-pack/test/case_api_integration/common/fixtures/saved_object_exports/single_case_with_connector_update_to_none.ndjson b/x-pack/test/cases_api_integration/common/fixtures/saved_object_exports/single_case_with_connector_update_to_none.ndjson similarity index 100% rename from x-pack/test/case_api_integration/common/fixtures/saved_object_exports/single_case_with_connector_update_to_none.ndjson rename to x-pack/test/cases_api_integration/common/fixtures/saved_object_exports/single_case_with_connector_update_to_none.ndjson diff --git a/x-pack/test/case_api_integration/common/ftr_provider_context.d.ts b/x-pack/test/cases_api_integration/common/ftr_provider_context.d.ts similarity index 100% rename from x-pack/test/case_api_integration/common/ftr_provider_context.d.ts rename to x-pack/test/cases_api_integration/common/ftr_provider_context.d.ts diff --git a/x-pack/test/case_api_integration/common/lib/authentication/index.ts b/x-pack/test/cases_api_integration/common/lib/authentication/index.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/authentication/index.ts rename to x-pack/test/cases_api_integration/common/lib/authentication/index.ts diff --git a/x-pack/test/case_api_integration/common/lib/authentication/roles.ts b/x-pack/test/cases_api_integration/common/lib/authentication/roles.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/authentication/roles.ts rename to x-pack/test/cases_api_integration/common/lib/authentication/roles.ts diff --git a/x-pack/test/case_api_integration/common/lib/authentication/spaces.ts b/x-pack/test/cases_api_integration/common/lib/authentication/spaces.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/authentication/spaces.ts rename to x-pack/test/cases_api_integration/common/lib/authentication/spaces.ts diff --git a/x-pack/test/case_api_integration/common/lib/authentication/types.ts b/x-pack/test/cases_api_integration/common/lib/authentication/types.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/authentication/types.ts rename to x-pack/test/cases_api_integration/common/lib/authentication/types.ts diff --git a/x-pack/test/case_api_integration/common/lib/authentication/users.ts b/x-pack/test/cases_api_integration/common/lib/authentication/users.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/authentication/users.ts rename to x-pack/test/cases_api_integration/common/lib/authentication/users.ts diff --git a/x-pack/test/case_api_integration/common/lib/mock.ts b/x-pack/test/cases_api_integration/common/lib/mock.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/mock.ts rename to x-pack/test/cases_api_integration/common/lib/mock.ts diff --git a/x-pack/test/case_api_integration/common/lib/utils.ts b/x-pack/test/cases_api_integration/common/lib/utils.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/utils.ts rename to x-pack/test/cases_api_integration/common/lib/utils.ts diff --git a/x-pack/test/case_api_integration/common/lib/validation.ts b/x-pack/test/cases_api_integration/common/lib/validation.ts similarity index 100% rename from x-pack/test/case_api_integration/common/lib/validation.ts rename to x-pack/test/cases_api_integration/common/lib/validation.ts diff --git a/x-pack/test/case_api_integration/common/services.ts b/x-pack/test/cases_api_integration/common/services.ts similarity index 100% rename from x-pack/test/case_api_integration/common/services.ts rename to x-pack/test/cases_api_integration/common/services.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/config_basic.ts b/x-pack/test/cases_api_integration/security_and_spaces/config_basic.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/config_basic.ts rename to x-pack/test/cases_api_integration/security_and_spaces/config_basic.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/config_trial.ts b/x-pack/test/cases_api_integration/security_and_spaces/config_trial.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/config_trial.ts rename to x-pack/test/cases_api_integration/security_and_spaces/config_trial.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/basic/cases/push_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/basic/cases/push_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/basic/cases/push_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/basic/cases/push_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/basic/configure/create_connector.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/basic/configure/create_connector.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/basic/configure/create_connector.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/basic/configure/create_connector.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/basic/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/basic/index.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/basic/index.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/basic/index.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/alerts/get_alerts_attached_to_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/alerts/get_alerts_attached_to_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/alerts/get_alerts_attached_to_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/alerts/get_alerts_attached_to_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/alerts/get_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/alerts/get_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/alerts/get_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/alerts/get_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/delete_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/delete_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/delete_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/delete_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/find_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/find_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/find_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/find_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/get_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/get_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/get_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/get_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/import_export.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/import_export.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/import_export.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/import_export.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/migrations.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/patch_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/patch_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/patch_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/patch_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/post_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/post_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/post_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/post_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/reporters/get_reporters.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/reporters/get_reporters.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/reporters/get_reporters.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/reporters/get_reporters.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/resolve_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/resolve_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/resolve_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/resolve_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/status/get_status.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/status/get_status.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/status/get_status.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/status/get_status.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/tags/get_tags.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/tags/get_tags.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/tags/get_tags.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/cases/tags/get_tags.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/client/update_alert_status.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/client/update_alert_status.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/client/update_alert_status.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/client/update_alert_status.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/delete_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/delete_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/delete_comment.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/delete_comment.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/find_comments.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/find_comments.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/find_comments.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/find_comments.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/get_all_comments.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/get_all_comments.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/get_all_comments.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/get_all_comments.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/get_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/get_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/get_comment.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/get_comment.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/migrations.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/migrations.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/migrations.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/patch_comment.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/post_comment.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/comments/post_comment.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/comments/post_comment.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/get_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/get_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/get_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/get_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/get_connectors.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/get_connectors.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/get_connectors.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/get_connectors.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/migrations.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/migrations.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/migrations.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/patch_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/post_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/post_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/configure/post_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/configure/post_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/connectors/case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/connectors/case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/connectors/case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/connectors/case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/index.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/migrations.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/migrations.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/migrations.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/delete_sub_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/delete_sub_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/delete_sub_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/delete_sub_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/find_sub_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/find_sub_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/find_sub_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/find_sub_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/get_sub_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/get_sub_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/get_sub_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/get_sub_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/patch_sub_cases.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/patch_sub_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/sub_cases/patch_sub_cases.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/sub_cases/patch_sub_cases.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/user_actions/get_all_user_actions.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/user_actions/get_all_user_actions.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/user_actions/get_all_user_actions.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/user_actions/migrations.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/user_actions/migrations.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/common/user_actions/migrations.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/user_actions/migrations.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/cases/push_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/cases/push_case.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/cases/user_actions/get_all_user_actions.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/cases/user_actions/get_all_user_actions.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/user_actions/get_all_user_actions.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/get_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/get_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/index.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/index.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/index.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/patch_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/patch_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/patch_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/patch_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/post_configure.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/post_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/configure/post_configure.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/post_configure.ts diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/trial/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts similarity index 100% rename from x-pack/test/case_api_integration/security_and_spaces/tests/trial/index.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/trial/index.ts diff --git a/x-pack/test/case_api_integration/spaces_only/config.ts b/x-pack/test/cases_api_integration/spaces_only/config.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/config.ts rename to x-pack/test/cases_api_integration/spaces_only/config.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/alerts/get_cases.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/alerts/get_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/alerts/get_cases.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/alerts/get_cases.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/delete_cases.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/delete_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/delete_cases.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/delete_cases.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/find_cases.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/find_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/find_cases.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/find_cases.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/get_case.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/get_case.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/get_case.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/get_case.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/patch_cases.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/patch_cases.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/patch_cases.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/patch_cases.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/post_case.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/post_case.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/post_case.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/post_case.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/reporters/get_reporters.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/reporters/get_reporters.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/reporters/get_reporters.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/reporters/get_reporters.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/status/get_status.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/status/get_status.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/status/get_status.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/status/get_status.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/cases/tags/get_tags.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/cases/tags/get_tags.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/cases/tags/get_tags.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/cases/tags/get_tags.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/delete_comment.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/delete_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/delete_comment.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/delete_comment.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/find_comments.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/find_comments.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/find_comments.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/find_comments.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/get_all_comments.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/get_all_comments.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/get_all_comments.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/get_all_comments.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/get_comment.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/get_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/get_comment.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/get_comment.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/patch_comment.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/patch_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/patch_comment.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/patch_comment.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/comments/post_comment.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/comments/post_comment.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/comments/post_comment.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/comments/post_comment.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/configure/get_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/configure/get_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/configure/get_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/configure/get_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/configure/patch_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/configure/patch_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/configure/patch_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/configure/patch_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/configure/post_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/configure/post_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/configure/post_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/configure/post_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/index.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/index.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/index.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/index.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/common/user_actions/get_all_user_actions.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/common/user_actions/get_all_user_actions.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/common/user_actions/get_all_user_actions.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/cases/push_case.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/cases/push_case.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/cases/push_case.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/cases/push_case.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/configure/get_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/configure/get_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/configure/get_connectors.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/configure/get_connectors.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/configure/index.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/index.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/configure/index.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/index.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/configure/patch_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/patch_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/configure/patch_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/patch_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/configure/post_configure.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/post_configure.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/configure/post_configure.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/post_configure.ts diff --git a/x-pack/test/case_api_integration/spaces_only/tests/trial/index.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/index.ts similarity index 100% rename from x-pack/test/case_api_integration/spaces_only/tests/trial/index.ts rename to x-pack/test/cases_api_integration/spaces_only/tests/trial/index.ts