Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6ca549b0e |
No files matched your search
@@ -476,12 +476,12 @@ jobs:
|
||||
# - suite: mfa
|
||||
# args: "--type playwright --suites mfa"
|
||||
# mfa: true
|
||||
# - suite: oidc
|
||||
# args: "--type playwright specs/oidc/refreshToken.spec.ts"
|
||||
# oidc: true
|
||||
# - suite: oidc-iframe
|
||||
# args: "--type playwright specs/oidc/iframeTokenRenewal.spec.ts"
|
||||
# oidc_iframe: true
|
||||
- suite: oidc
|
||||
args: "--type playwright specs/oidc/refreshToken.spec.ts"
|
||||
oidc: true
|
||||
- suite: oidc-iframe
|
||||
args: "--type playwright specs/oidc/iframeTokenRenewal.spec.ts"
|
||||
oidc_iframe: true
|
||||
# - suite: app-provider
|
||||
# args: "--type playwright --suites app-provider"
|
||||
# collaboration: true
|
||||
@@ -618,6 +618,8 @@ jobs:
|
||||
E2E_ARGS: "${{ matrix.args }}"
|
||||
K8S: ${{ env.K8S }}
|
||||
TEST_SERVER_URL: ${{ env.TEST_SERVER_URL }}
|
||||
OIDC_NEEDED: ${{ matrix.oidc == true && 'true' || 'false' }}
|
||||
OIDC_IFRAME_NEEDED: ${{ matrix.oidc_iframe == true && 'true' || 'false' }}
|
||||
run: python3 tests/acceptance/run-e2e.py
|
||||
|
||||
- name: Upload Playwright traces
|
||||
|
||||
@@ -92,5 +92,13 @@ if [[ "$ENABLE_VAULT" == "true" ]]; then
|
||||
sed -i "/imgSrc:/i\\ - 'https://keycloak:8443/'" $CFG_DIR/values.yaml
|
||||
fi
|
||||
|
||||
if [[ "$ENABLE_SHORT_ACCESS_TOKEN" == "true" ]]; then
|
||||
sed -i '/shortAccessTokenTest:/{n;s|false|true|}' $CFG_DIR/values.yaml
|
||||
fi
|
||||
|
||||
if [[ "$ENABLE_OIDC_OFFLINE_ACCESS" == "true" ]]; then
|
||||
sed -i "s|webClientScope: 'openid profile email'|webClientScope: 'openid profile email offline_access'|" $CFG_DIR/values.yaml
|
||||
fi
|
||||
|
||||
# copy custom values file
|
||||
cp $CFG_DIR/values.yaml "$CHT_DIR/ci/deployment-values.yaml"
|
||||
@@ -168,4 +168,10 @@
|
||||
value: "1a01c2c4-4309-4483-a845-842fd56d8622"
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- if and (eq .appName "idp") .Values.shortAccessTokenTest.enabled }}
|
||||
{{/* Shortens the access token lifetime so the oidc/oidc-iframe e2e tests can actually
|
||||
observe a token renewal within their wait window - see values.yaml. */}}
|
||||
- name: IDP_ACCESS_TOKEN_EXPIRATION
|
||||
value: "30"
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
@@ -13,6 +13,8 @@ insecure:
|
||||
oidcIdpInsecure: true
|
||||
ocisHttpApiInsecure: true
|
||||
ocmInsecure: true
|
||||
shortAccessTokenTest:
|
||||
enabled: true
|
||||
features:
|
||||
authapp:
|
||||
enabled: false
|
||||
@@ -167,6 +169,8 @@ services:
|
||||
enabled: true
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
config:
|
||||
webClientScope: 'openid profile email'
|
||||
antivirus:
|
||||
events:
|
||||
consumer:
|
||||
|
||||
Reference in new issue
Block a user