From b38c1d4c7e1b3ab1c9048522f1dd88da72ab40c8 Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Tue, 26 Sep 2023 16:28:02 +0200 Subject: [PATCH] fix --- .../cypress/e2e/tiers/endpoint_complete.cy.ts | 24 ------------------- .../e2e/tiers/endpoint_essentials.cy.ts | 24 ------------------- .../cypress/e2e/tiers/security_complete.cy.ts | 21 ---------------- .../e2e/tiers/security_essentials.cy.ts | 19 --------------- 4 files changed, 88 deletions(-) delete mode 100644 x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_complete.cy.ts delete mode 100644 x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_essentials.cy.ts delete mode 100644 x-pack/plugins/osquery/cypress/e2e/tiers/security_complete.cy.ts delete mode 100644 x-pack/plugins/osquery/cypress/e2e/tiers/security_essentials.cy.ts diff --git a/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_complete.cy.ts b/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_complete.cy.ts deleted file mode 100644 index c5e9baddc35e1..0000000000000 --- a/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_complete.cy.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { checkOsqueryResponseActionsPermissions } from '../../tasks/response_actions'; - -describe( - 'App Features for Enpoint Complete PLI', - { - tags: '@serverless', - env: { - ftrConfig: { - productTypes: [ - { product_line: 'endpoint', product_tier: 'complete' }, - { product_line: 'security', product_tier: 'complete' }, - ], - }, - }, - }, - () => checkOsqueryResponseActionsPermissions(true) -); diff --git a/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_essentials.cy.ts b/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_essentials.cy.ts deleted file mode 100644 index e03ac8b72107f..0000000000000 --- a/x-pack/plugins/osquery/cypress/e2e/tiers/endpoint_essentials.cy.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { checkOsqueryResponseActionsPermissions } from '../../tasks/response_actions'; - -describe( - 'App Features for Endpoint Essentials PLI', - { - tags: '@serverless', - env: { - ftrConfig: { - productTypes: [ - { product_line: 'security', product_tier: 'essentials' }, - { product_line: 'endpoint', product_tier: 'essentials' }, - ], - }, - }, - }, - () => checkOsqueryResponseActionsPermissions(false) -); diff --git a/x-pack/plugins/osquery/cypress/e2e/tiers/security_complete.cy.ts b/x-pack/plugins/osquery/cypress/e2e/tiers/security_complete.cy.ts deleted file mode 100644 index d1451c44ba43a..0000000000000 --- a/x-pack/plugins/osquery/cypress/e2e/tiers/security_complete.cy.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { checkOsqueryResponseActionsPermissions } from '../../tasks/response_actions'; - -describe( - 'App Features for Security Complete PLI', - { - tags: '@serverless', - env: { - ftrConfig: { - productTypes: [{ product_line: 'security', product_tier: 'complete' }], - }, - }, - }, - () => checkOsqueryResponseActionsPermissions(false) -); diff --git a/x-pack/plugins/osquery/cypress/e2e/tiers/security_essentials.cy.ts b/x-pack/plugins/osquery/cypress/e2e/tiers/security_essentials.cy.ts deleted file mode 100644 index 7bc199ec8a3a2..0000000000000 --- a/x-pack/plugins/osquery/cypress/e2e/tiers/security_essentials.cy.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { checkOsqueryResponseActionsPermissions } from '../../tasks/response_actions'; - -describe( - 'App Features for Security Essentials PLI', - { - tags: '@serverless', - env: { - ftrConfig: { productTypes: [{ product_line: 'security', product_tier: 'essentials' }] }, - }, - }, - () => checkOsqueryResponseActionsPermissions(false) -);