kibana
kibana copied to clipboard
[Threat Hunting] Move the API tests to the `x-pack/test/security_solution_api_integration` folder
As part of this ticket we have to:
- [ ] Move the tests inside the
x-pack/test/security_solution_api_integration
folder. - [ ] There is a specific folder per each one of the area teams to improve the visibility and ownesrhip of them.
- [ ] Update the CODEOWNERS file to reflect the new changes
- [ ] Add the
@ess
and@serverless
labels to each corresponding test - [ ] Make sure that everything is properly integrated with buildkite and tests are executed as part of the CI process.
Pinging @elastic/security-threat-hunting (Team:Threat Hunting)
Pinging @elastic/security-solution (Team: SecuritySolution)
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)
Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore)
To relocate:
- x-pack/test/timeline
- x-pack/test/security_solution_endpoint/
- x-pack/test/security_solution_endpoint_api_int/
Should remove this file from .buildkite/ftr_configs.yml:
- x-pack/test/api_integration/apis/security_solution/config.ts
Hi @angorayc, I see a linked PR that has been merged and another as a "draft". Could you please mark the changes that have been completed in the description? Thanks!
- https://github.com/elastic/kibana/pull/181605 relocates:
x-pack/test/api_integration/apis to x-pack/test/security_solution_api_integration
- [x] Move the tests inside the x-pack/test/security_solution_api_integration folder.
- [x] There is a specific folder per each one of the area teams to improve the visibility and ownesrhip of them.
- [x] Update the CODEOWNERS file to reflect the new changes
- [x] Add the @ess and @serverless labels to each corresponding test
- [x] Make sure that everything is properly integrated with buildkite and tests are executed as part of the CI process.
======
- https://github.com/elastic/kibana/pull/183611 relocates:
- x-pack/test/security_solution_endpoint_api_int to pack/test/security_solution_api_integration/test_suites/security_solution_endpoint_api_int
- x-pack/test/security_solution_endpoint to pack/test/security_solution_api_integration/test_suites/security_solution_endpoint
- x-pack/test/timeline to pack/test/security_solution_api_integration/test_suites/investigation/timeline
- [x] Move the tests inside the x-pack/test/security_solution_api_integration folder.
- [x] There is a specific folder per each one of the area teams to improve the visibility and ownesrhip of them.
- [x] Update the CODEOWNERS file to reflect the new changes
- [x] Add the @ess and @serverless labels to each corresponding test
- [x] Make sure that everything is properly integrated with buildkite and tests are executed as part of the CI process.
@MadameSheema all the PRs for this issue have been merged, is it alright if I close this?
Next step 1: https://github.com/elastic/kibana/issues/181684
I will add the scripts to x-pack/test/security_solution_api_integration/package.json
for new test suits added in this issue.
Scripts should be added:
qa:serverless
qa:serverless:release
Next step 2: Once platform_engineer role is supported by the api tests, we should stop using admin
role and use platform_engineer
for api integration tests
https://github.com/elastic/kibana/issues/184806
https://github.com/elastic/kibana/issues/184807
parent issue (please read this issue first before working on issues above): https://github.com/elastic/kibana/issues/184135