Skip to content

keycloak tests#2064

Open
ScharfViktor wants to merge 2 commits intomainfrom
keycloak-tests
Open

keycloak tests#2064
ScharfViktor wants to merge 2 commits intomainfrom
keycloak-tests

Conversation

@ScharfViktor
Copy link
Contributor

@ScharfViktor ScharfViktor commented Mar 3, 2026

keycloak integration tests:

  • disable user using keycloak API
  • delete user sessions using keycloak API and confirm that user logged out on UI
  • enable user using keycloak API and confirm that the user can log in and access the app

@ScharfViktor ScharfViktor marked this pull request as ready for review March 4, 2026 11:48
'admin disables user {string} using keycloak API',
async function (this: World, stepUser: string): Promise<void> {
const user = this.usersEnvironment.getCreatedUser({ key: stepUser })
await setUserEnabled({ uuid: user.keycloakUuid, enabled: false })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await setUserEnabled({ uuid: user.keycloakUuid, enabled: false })
await api.keycloak.setUserEnabled({ uuid: user.keycloakUuid, enabled: false })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants