forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Defend Workflows] Enable FTR API tests for serverless using tags (el…
…astic#170418) ## Summary With a similar solution as elastic#169946, almost all of our FTR API tests (`x-pack/test/security_solution_endpoint_api_int/`) can now run against serverless, using `suiteTags` under the hood. ## Usage ```ts describe('This is the suite.', function() { // a custom function wraps the `this.tags()` function to provide type safety targetTags(this, ['@ess', '@serverless', '@skipInServerless']); }) ``` > **Note** > Only `describe()` blocks can be tagged. ## Changes: - serverless config is added for endpoint FTR API tests: `x-pack/test/security_solution_endpoint_api_int/serverless.config.ts` - roles are created only when running against ESS. when running against serverless, a subset of users/roles already exist (see [this list](https://github.com/elastic/kibana/pull/170418/files#diff-5aaeaeaedad4321151d5388437084b27f271a6254e95f0352c9a10c3126eddc8R54)) - tests that use roles that doesn't exist on serverless (`artifact_read_privileges`, `hunter`) are therefore skipped against serverless
- Loading branch information
1 parent
e42ee8a
commit 60c6490
Showing
26 changed files
with
374 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.