mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[FTR] Move serverless tests depending on feature flag to its own config file (#163929)
## Summary It seems beneficial to have feature flag tests in a separate test config file - tests are still run on Kibana CI automatically - tests are not run on MKI projects automatically, but you can deploy custom project and run tests via feature flags config All the feature flags within the same project should be places in the same config to make sure there is no arguments conflict. When the flag is moved to the yml configuration, we can rely on Kibana CI and manually triggered deployment to make sure projects are functioning correctly. --------- Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
This commit is contained in:
parent
546a3cb1af
commit
7ece4e5df3
40 changed files with 469 additions and 304 deletions
|
@ -9,17 +9,20 @@ export JOB="kibana-serverless-$SERVERLESS_ENVIRONMENT"
|
|||
if [[ "$SERVERLESS_ENVIRONMENT" == "search" ]]; then
|
||||
SERVERLESS_CONFIGS=(
|
||||
"x-pack/test_serverless/api_integration/test_suites/search/config.ts"
|
||||
"x-pack/test_serverless/api_integration/test_suites/search/config.feature_flags.ts"
|
||||
"x-pack/test_serverless/functional/test_suites/search/config.ts"
|
||||
)
|
||||
elif [[ "$SERVERLESS_ENVIRONMENT" == "observability" ]]; then
|
||||
SERVERLESS_CONFIGS=(
|
||||
"x-pack/test_serverless/api_integration/test_suites/observability/config.ts"
|
||||
"x-pack/test_serverless/api_integration/test_suites/observability/config.feature_flags.ts"
|
||||
"x-pack/test_serverless/functional/test_suites/observability/config.ts"
|
||||
"x-pack/test_serverless/functional/test_suites/observability/cypress/config_headless.ts"
|
||||
)
|
||||
elif [[ "$SERVERLESS_ENVIRONMENT" == "security" ]]; then
|
||||
SERVERLESS_CONFIGS=(
|
||||
"x-pack/test_serverless/api_integration/test_suites/security/config.ts"
|
||||
"x-pack/test_serverless/api_integration/test_suites/security/config.feature_flags.ts"
|
||||
"x-pack/test_serverless/functional/test_suites/security/config.ts"
|
||||
)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue