[8.x] [Security Solution] Removes unmaintained tests (#197408) (#197600)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Removes unmaintained tests
(#197408)](https://github.com/elastic/kibana/pull/197408)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T10:46:30Z","message":"[Security
Solution] Removes unmaintained tests (#197408)\n\n##
Summary\r\n\r\nDeleting some tests that we don't maintain since we don't
use the\r\n`test_serverless` folder for our serverless tests, in that
way we'll\r\nprevent misunderstandings regarding ownership of
it.","sha":"6ae07b382dc134a50b854c56f61cbc78225acbd9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","backport:prev-major","v8.16.0","v8.17.0"],"title":"[Security
Solution] Removes unmaintained
tests","number":197408,"url":"https://github.com/elastic/kibana/pull/197408","mergeCommit":{"message":"[Security
Solution] Removes unmaintained tests (#197408)\n\n##
Summary\r\n\r\nDeleting some tests that we don't maintain since we don't
use the\r\n`test_serverless` folder for our serverless tests, in that
way we'll\r\nprevent misunderstandings regarding ownership of
it.","sha":"6ae07b382dc134a50b854c56f61cbc78225acbd9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197408","number":197408,"mergeCommit":{"message":"[Security
Solution] Removes unmaintained tests (#197408)\n\n##
Summary\r\n\r\nDeleting some tests that we don't maintain since we don't
use the\r\n`test_serverless` folder for our serverless tests, in that
way we'll\r\nprevent misunderstandings regarding ownership of
it.","sha":"6ae07b382dc134a50b854c56f61cbc78225acbd9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
This commit is contained in:
Kibana Machine 2024-10-24 23:31:54 +11:00 committed by GitHub
parent bde9a7a280
commit 4c620992ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 27 deletions

3
.github/CODEOWNERS vendored
View file

@ -1531,7 +1531,6 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints
/x-pack/test/functional/es_archives/auditbeat/hosts @elastic/security-solution
/x-pack/test_serverless/functional/page_objects/svl_management_page.ts @elastic/security-solution
/x-pack/test_serverless/api_integration/test_suites/security @elastic/security-solution
/x-pack/test_serverless/functional/page_objects/svl_sec_landing_page.ts @elastic/security-solution
/x-pack/test_serverless/functional/test_suites/security/cypress @elastic/security-solution
/x-pack/test_serverless/functional/test_suites/security/index.feature_flags.ts @elastic/security-solution
@ -1906,6 +1905,8 @@ packages/react @elastic/appex-sharedux
test/functional/page_objects/solution_navigation.ts @elastic/appex-sharedux
/x-pack/test_serverless/functional/page_objects/svl_common_navigation.ts @elastic/appex-sharedux
/x-pack/test_serverless/functional/fixtures/kbn_archiver/reporting @elastic/appex-sharedux
/x-pack/test_serverless/functional/page_objects/svl_sec_landing_page.ts @elastic/appex-sharedux
/x-pack/test_serverless/functional/test_suites/security/ftr/navigation.ts @elastic/appex-sharedux
# OpenAPI spec files
oas_docs/.spectral.yaml @elastic/platform-docs

View file

@ -1,25 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { FtrProviderContext } from '../../../ftr_provider_context';
export default function ({ getPageObject, getService }: FtrProviderContext) {
const svlSecLandingPage = getPageObject('svlSecLandingPage');
const svlSecNavigation = getService('svlSecNavigation');
const svlCommonPage = getPageObject('svlCommonPage');
describe('landing page', function () {
before(async () => {
await svlCommonPage.loginAsViewer();
});
it('has serverless side nav', async () => {
await svlSecNavigation.navigateToLandingPage();
await svlSecLandingPage.assertSvlSecSideNavExists();
});
});
}

View file

@ -13,7 +13,6 @@ export default function ({ loadTestFile }: FtrProviderContext) {
describe('serverless security UI', function () {
this.tags(['esGate']);
loadTestFile(require.resolve('./ftr/landing_page'));
loadTestFile(require.resolve('./ftr/navigation'));
loadTestFile(require.resolve('./ftr/cases'));
loadTestFile(require.resolve('./ftr/advanced_settings'));