diff --git a/x-pack/plugins/security_solution/public/management/cypress/cypress_endpoint_serverless.config.ts b/x-pack/plugins/security_solution/public/management/cypress/cypress_endpoint_serverless.config.ts index e874d4d22ec4b..ca9453cfdb89c 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/cypress_endpoint_serverless.config.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/cypress_endpoint_serverless.config.ts @@ -7,9 +7,6 @@ import { defineCypressConfig } from '@kbn/cypress-config'; -import { dataLoaders, dataLoadersForRealEndpoints } from './support/data_loaders'; -import { responseActionTasks } from './support/response_actions'; - // eslint-disable-next-line import/no-default-export export default defineCypressConfig({ reporter: '../../../../node_modules/cypress-multi-reporters', @@ -65,11 +62,18 @@ export default defineCypressConfig({ // eslint-disable-next-line @typescript-eslint/no-var-requires require('@cypress/grep/src/plugin')(config); - dataLoaders(on, config); + // skip dataLoaders() because of `NativeResponseError: status_exception` + // message: `Native role management is not enabled in this Elasticsearch instance` + // related: https://github.com/elastic/security-team/issues/7614 + // dataLoaders(on, config); + // skip dataLoadersForRealEndpoints() + // https://github.com/elastic/security-team/issues/7467 // Data loaders specific to "real" Endpoint testing - dataLoadersForRealEndpoints(on, config); - responseActionTasks(on, config); + // dataLoadersForRealEndpoints(on, config); + + // skip responseActionTasks() because of `NativeResponseError: status_exception` + // responseActionTasks(on, config); }, }, }); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/_placeholder.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/_placeholder.cy.ts new file mode 100644 index 0000000000000..2f98a7d48dbac --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/endpoint/_placeholder.cy.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { APP_POLICIES_PATH } from '../../../../../common/constants'; +import { login } from '../../tasks/login'; + +// remove this file after other tests can run +describe( + 'placeholder for running at least one `endpoint` test case', + { tags: '@serverless' }, + () => { + it('placeholder', () => { + login(); + cy.visit(APP_POLICIES_PATH); + }); + } +); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/_placeholder.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/_placeholder.cy.ts index f712973b7cacd..ba8d314abc07b 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/_placeholder.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/_placeholder.cy.ts @@ -9,9 +9,13 @@ import { APP_POLICIES_PATH } from '../../../../../common/constants'; import { login } from '../../tasks/login'; // remove this file after other tests can run -describe('placeholder for running at least one test case', { tags: '@serverless' }, () => { - it('placeholder', () => { - login(); - cy.visit(APP_POLICIES_PATH); - }); -}); +describe( + 'placeholder for running at least one `mocked_data` test case', + { tags: '@serverless' }, + () => { + it('placeholder', () => { + login(); + cy.visit(APP_POLICIES_PATH); + }); + } +);