-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution][API testing] Move and restructures Basic detection engine tests #171531
[Security Solution][API testing] Move and restructures Basic detection engine tests #171531
Conversation
…ructure-basic-detection_engine
…ructure-basic-detection_engine
…ructure-basic-detection_engine
…b.com/WafaaNasr/kibana into move-structure-basic-detection_engine
…ructure-basic-detection_engine:wq
const dataPathBuilder = new EsArchivePathBuilder(isServerless); | ||
const auditbeatPath = dataPathBuilder.getPath('auditbeat/hosts'); | ||
|
||
describe('create_ml_rules', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to not have a tag at the parent level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, in this test suite (parent level) specifically we don't share the test methods in both envs instead we test the differences among both, so it wouldn't make sense to add the tag on the top level, and Mocha already pick up the tags at any level (the suite & the test method)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one comment to ensure the test gets picked up if a tag is missing at the top describe
block for one of the tests.
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @WafaaNasr |
Summary
Following the initial work in this #166755
Basic
Ess tests and theEssentials
Serverless tests, is calledbasic_essentials_license
serverless/config.base.essentials
andess/config.base.basic
security_solution_api_integration
. Files not actively used in the previous folder were moved, while duplicate files remained in their original positions.