Open mgiota opened 1 month ago
Part of https://github.com/elastic/kibana/issues/183263
As part of this PR we introduce a way to write deployment agnostic tests using Mocha tagging. Tests should be written in the new observability_solution_api_integration folder and should be tagged with the @ess and @serverless tags.
observability_solution_api_integration
@ess and @serverless
describe('@ess @serverless ES query rule, () => { describe('Create rule', () => { }); }
x-pack/test_serverless/api_integration/test_suites/observability/es_query_rule
es_query
serverless.config.ts
ess.config.ts
.buildkite/ftr_configs.yml
@ess @serverless
package.json
alerting_es_query:server:ess
alerting_es_query:runner:ess
alerting_es_query:server:serverless
alerting_es_query:runner:serverless
Moved to backlog until the related Meta ticket is prioritized.
Part of https://github.com/elastic/kibana/issues/183263
π Summary
As part of this PR we introduce a way to write deployment agnostic tests using Mocha tagging. Tests should be written in the new
observability_solution_api_integration
folder and should be tagged with the@ess and @serverless
tags.Existing tests
x-pack/test_serverless/api_integration/test_suites/observability/es_query_rule
New folder structure
How to migrate
es_query
folder within alerting folderserverless.config.ts
andess.config.ts
files similar to the burn_rate rule in this PR.buildkite/ftr_configs.yml
@ess @serverless
tagspackage.json
of the observability_solution_api_integration folder similar to the burn_rate commands.alerting_es_query:server:ess
alerting_es_query:runner:ess
alerting_es_query:server:serverless
alerting_es_query:runner:serverless