Skip to content

Commit

Permalink
debug: run all with tracing enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Sep 13, 2024
1 parent 6fe2141 commit fc5d65c
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@ config = {
"e2e": {
"1": {
"earlyFail": True,
"skip": True,
"skip": False,
"suites": [
"journeys",
"smoke",
],
},
"2": {
"earlyFail": True,
"skip": True,
"skip": False,
"suites": [
"admin-settings",
"spaces",
],
},
"3": {
"earlyFail": True,
"skip": True,
"skip": False,
"tikaNeeded": True,
"suites": [
"search",
Expand All @@ -84,15 +84,15 @@ config = {
},
"4": {
"earlyFail": True,
"skip": True,
"skip": False,
"suites": [
"navigation",
"user-settings",
"file-action",
],
},
"app-provider": {
"skip": True,
"skip": False,
"suites": [
"app-provider",
],
Expand All @@ -109,7 +109,7 @@ config = {
},
},
"oidc-refresh-token": {
"skip": True,
"skip": False,
"features": [
"cucumber/features/oidc/refreshToken.feature",
],
Expand All @@ -119,7 +119,7 @@ config = {
},
},
"oidc-iframe": {
"skip": True,
"skip": False,
"features": [
"cucumber/features/oidc/iframeTokenRenewal.feature",
],
Expand Down Expand Up @@ -204,7 +204,7 @@ def stagePipelines(ctx):

e2e_pipelines = e2eTests(ctx)
keycloak_pipelines = e2eTestsOnKeycloak(ctx)
return keycloak_pipelines
return e2e_pipelines + keycloak_pipelines

def afterPipelines(ctx):
return build(ctx) + pipelinesDependsOn(notify(), build(ctx))
Expand Down Expand Up @@ -573,7 +573,7 @@ def e2eTests(ctx):
environment = {
"HEADLESS": "true",
"RETRY": "1",
"REPORT_TRACING": params["reportTracing"],
"REPORT_TRACING": True,
"BASE_URL_OCIS": "ocis:9200",
"FAIL_ON_UNCAUGHT_CONSOLE_ERR": "true",
}
Expand Down Expand Up @@ -1756,14 +1756,14 @@ def keycloakService():
def e2eTestsOnKeycloak(ctx):
e2e_Keycloak_tests = [
"journeys",
# "admin-settings/users.feature:20",
# "admin-settings/users.feature:43",
# "admin-settings/users.feature:106",
# "admin-settings/users.feature:131",
# "admin-settings/users.feature:185",
# "admin-settings/spaces.feature",
# "admin-settings/groups.feature",
# "admin-settings/general.feature",
"admin-settings/users.feature:20",
"admin-settings/users.feature:43",
"admin-settings/users.feature:106",
"admin-settings/users.feature:131",
"admin-settings/users.feature:185",
"admin-settings/spaces.feature",
"admin-settings/groups.feature",
"admin-settings/general.feature",
]

e2e_volumes = [
Expand Down Expand Up @@ -1831,8 +1831,6 @@ def e2eTestsOnKeycloak(ctx):
"KEYCLOAK_HOST": "keycloak:8443",
},
"commands": [
"wget -q -P /tmp https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_125.0.6422.141-1_amd64.deb",
"apt install -y /tmp/google-chrome-stable_125.0.6422.141-1_amd64.deb",
"cd tests/e2e",
"bash run-e2e.sh %s" % " ".join(["cucumber/features/" + tests for tests in e2e_Keycloak_tests]),
],
Expand Down

0 comments on commit fc5d65c

Please sign in to comment.