From 9e6b6bc0f3c10039ef59a0f70768e151aab3a13d Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Mon, 8 Jul 2024 17:59:33 +0545 Subject: [PATCH] test: run cli test suites --- .drone.star | 8 +++++++- tests/acceptance/config/behat.yml | 4 ++-- .../resetUserPassword.feature | 0 3 files changed, 9 insertions(+), 3 deletions(-) rename tests/acceptance/features/{cliResetPassword => cliCommands}/resetUserPassword.feature (100%) diff --git a/.drone.star b/.drone.star index 9d0b21c601..e2ac0e8494 100644 --- a/.drone.star +++ b/.drone.star @@ -151,6 +151,12 @@ config = { "OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "%s" % dirs["ocmProviders"], }, }, + "cli": { + "suites": [ + "cliCommands", + ], + "skip": False, + }, }, "apiTests": { "numberOfParts": 10, @@ -859,7 +865,7 @@ def localApiTestPipeline(ctx): pipeline = { "kind": "pipeline", "type": "docker", - "name": "localApiTests-%s-%s" % (suite, storage), + "name": "%s-Tests-%s-%s" % ("CLI" if name.startswith("cli") else "API", suite, storage), "platform": { "os": "linux", "arch": "amd64", diff --git a/tests/acceptance/config/behat.yml b/tests/acceptance/config/behat.yml index b3a308d0b0..1644768d08 100644 --- a/tests/acceptance/config/behat.yml +++ b/tests/acceptance/config/behat.yml @@ -368,9 +368,9 @@ default: - SharingNgContext: - SpacesContext: - cliResetPassword: + cliCommands: paths: - - "%paths.base%/../features/cliResetPassword" + - "%paths.base%/../features/cliCommands" context: *common_ldap_suite_context contexts: - FeatureContext: *common_feature_context_params diff --git a/tests/acceptance/features/cliResetPassword/resetUserPassword.feature b/tests/acceptance/features/cliCommands/resetUserPassword.feature similarity index 100% rename from tests/acceptance/features/cliResetPassword/resetUserPassword.feature rename to tests/acceptance/features/cliCommands/resetUserPassword.feature