Skip to content

Commit

Permalink
regenerate the access token for web-ocis running with keycloak on aft…
Browse files Browse the repository at this point in the history
…erall (#11067)
  • Loading branch information
nabim777 authored Jun 20, 2024
1 parent 8113687 commit 61adbc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,13 @@ 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",
]

e2e_volumes = [
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/cucumber/environment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ After(async function (this: World, { result, willBeRetried }: ITestCaseHookParam
// refresh keycloak admin access token
if (config.keycloak) {
await refreshToken({ user: this.usersEnvironment.getUser({ key: 'admin' }) })
await setAdminToken(state.browser)
}

await cleanUpUser(this.usersEnvironment.getUser({ key: 'admin' }))
Expand Down

0 comments on commit 61adbc7

Please sign in to comment.