From 6facbb1ca6d5d6c764f87da1f6061ebad1dd92aa Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Mon, 15 Jun 2026 14:25:56 +0200 Subject: [PATCH 1/3] update Keycloak e2e testing documentation Updated the documentation for running e2e tests with Keycloak, including new environment variables and corrected links. --- .../dev/web/testing/running-tests.md | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/versioned_docs/version-4.0/dev/web/testing/running-tests.md b/versioned_docs/version-4.0/dev/web/testing/running-tests.md index ed77f909a..ce557c9fc 100644 --- a/versioned_docs/version-4.0/dev/web/testing/running-tests.md +++ b/versioned_docs/version-4.0/dev/web/testing/running-tests.md @@ -122,19 +122,25 @@ We can run some of the e2e tests on OpenCloud setup with Keycloak as an external #### Run OpenCloud With Keycloak -There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak). Please follow each step to run **OpenCloud with Keycloak**. +There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak.md). Please follow each step to run **OpenCloud with Keycloak**. + +#### Options + +Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: + +- `KEYCLOAK=true` runs the tests with Keycloak. Default value: false +- `KEYCLOAK_HOST=your_keycloak_host` sets Keycloak url. Default value: keycloak.opencloud.test +- `KEYCLOAK_ADMIN_USER=admin` keycloak admin username +- `KEYCLOAK_ADMIN_PASSWORD=password` keycloak admin password +- `KEYCLOAK_REALM=your_realm` keycloak realm name. Default value: openCloud #### Run E2E Tests ```bash KEYCLOAK=true \ -BASE_URL_OPEN_CLOUD=demo.opencloud.test \ -pnpm run test:e2e:cucumber tests/e2e/cucumber/features/journeys +KEYCLOAK_HOST=keycloak.opencloud.test \ +KEYCLOAK_ADMIN_USER=kcadmin \ +KEYCLOAK_ADMIN_PASSWORD=admin \ +OC_BASE_URL=cloud.opencloud.test \ +pnpm run test:e2e:cucumber tests/e2e/cucumber/features/keycloak ``` - -Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: - -- `BASE_URL_OPENCLOUD` sets OpenCloud url (e.g.: demo.opencloud.test) -- `KEYCLOAK_HOST` sets Keycloak url (e.g.: keycloak.opencloud.test) -- `KEYCLOAK=true` runs the tests with Keycloak -- `KEYCLOAK_REALM` sets OpenCloud realm name used on Keycloak From 27d76dc2556cefd026da94a012390c117c60edf6 Mon Sep 17 00:00:00 2001 From: "v.scharf" Date: Mon, 15 Jun 2026 15:20:17 +0200 Subject: [PATCH 2/3] commit to new docsversion --- docs/dev/web/testing/running-tests.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/dev/web/testing/running-tests.md b/docs/dev/web/testing/running-tests.md index ed77f909a..ce557c9fc 100644 --- a/docs/dev/web/testing/running-tests.md +++ b/docs/dev/web/testing/running-tests.md @@ -122,19 +122,25 @@ We can run some of the e2e tests on OpenCloud setup with Keycloak as an external #### Run OpenCloud With Keycloak -There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak). Please follow each step to run **OpenCloud with Keycloak**. +There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak.md). Please follow each step to run **OpenCloud with Keycloak**. + +#### Options + +Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: + +- `KEYCLOAK=true` runs the tests with Keycloak. Default value: false +- `KEYCLOAK_HOST=your_keycloak_host` sets Keycloak url. Default value: keycloak.opencloud.test +- `KEYCLOAK_ADMIN_USER=admin` keycloak admin username +- `KEYCLOAK_ADMIN_PASSWORD=password` keycloak admin password +- `KEYCLOAK_REALM=your_realm` keycloak realm name. Default value: openCloud #### Run E2E Tests ```bash KEYCLOAK=true \ -BASE_URL_OPEN_CLOUD=demo.opencloud.test \ -pnpm run test:e2e:cucumber tests/e2e/cucumber/features/journeys +KEYCLOAK_HOST=keycloak.opencloud.test \ +KEYCLOAK_ADMIN_USER=kcadmin \ +KEYCLOAK_ADMIN_PASSWORD=admin \ +OC_BASE_URL=cloud.opencloud.test \ +pnpm run test:e2e:cucumber tests/e2e/cucumber/features/keycloak ``` - -Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: - -- `BASE_URL_OPENCLOUD` sets OpenCloud url (e.g.: demo.opencloud.test) -- `KEYCLOAK_HOST` sets Keycloak url (e.g.: keycloak.opencloud.test) -- `KEYCLOAK=true` runs the tests with Keycloak -- `KEYCLOAK_REALM` sets OpenCloud realm name used on Keycloak From e4f3d564ed3b0c847f8e07bfc59098c1374384df Mon Sep 17 00:00:00 2001 From: Anja Barz Date: Mon, 15 Jun 2026 15:45:32 +0200 Subject: [PATCH 3/3] change the version-4.0 back to main version --- .../dev/web/testing/running-tests.md | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/versioned_docs/version-4.0/dev/web/testing/running-tests.md b/versioned_docs/version-4.0/dev/web/testing/running-tests.md index ce557c9fc..ed77f909a 100644 --- a/versioned_docs/version-4.0/dev/web/testing/running-tests.md +++ b/versioned_docs/version-4.0/dev/web/testing/running-tests.md @@ -122,25 +122,19 @@ We can run some of the e2e tests on OpenCloud setup with Keycloak as an external #### Run OpenCloud With Keycloak -There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak.md). Please follow each step to run **OpenCloud with Keycloak**. - -#### Options - -Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: - -- `KEYCLOAK=true` runs the tests with Keycloak. Default value: false -- `KEYCLOAK_HOST=your_keycloak_host` sets Keycloak url. Default value: keycloak.opencloud.test -- `KEYCLOAK_ADMIN_USER=admin` keycloak admin username -- `KEYCLOAK_ADMIN_PASSWORD=password` keycloak admin password -- `KEYCLOAK_REALM=your_realm` keycloak realm name. Default value: openCloud +There's a documentation to serve [OpenCloud with Keycloak](../../../admin/configuration/authentication-and-user-management/keycloak). Please follow each step to run **OpenCloud with Keycloak**. #### Run E2E Tests ```bash KEYCLOAK=true \ -KEYCLOAK_HOST=keycloak.opencloud.test \ -KEYCLOAK_ADMIN_USER=kcadmin \ -KEYCLOAK_ADMIN_PASSWORD=admin \ -OC_BASE_URL=cloud.opencloud.test \ -pnpm run test:e2e:cucumber tests/e2e/cucumber/features/keycloak +BASE_URL_OPEN_CLOUD=demo.opencloud.test \ +pnpm run test:e2e:cucumber tests/e2e/cucumber/features/journeys ``` + +Following environment variables come in use while running e2e tests on OpenCloud with Keycloak: + +- `BASE_URL_OPENCLOUD` sets OpenCloud url (e.g.: demo.opencloud.test) +- `KEYCLOAK_HOST` sets Keycloak url (e.g.: keycloak.opencloud.test) +- `KEYCLOAK=true` runs the tests with Keycloak +- `KEYCLOAK_REALM` sets OpenCloud realm name used on Keycloak