chore(KeycloakHelper): Add Keycloak user and group creation / deletion in bulk and requireEnv util function#55
Conversation
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
|
Question for discussion, but I wonder if we should extend the Only downside is that the RBAC tests are the only ones, that I know of, who would benefit from this support. So the expansion would just be targeted to one plugin and only one plugin, adding more maintenance for just a couple of tests. |
|
Just a heads up, but you will probably need to add an entry to the changelog |
I think it makes sense to implement it to avoid workaround with using group yamls and instead rely on |
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Adds functions to create or delete users and groups via
KeycloakHelperin bulk (createUsersAndGroups+deleteUsersAndGroups). You can use it in your tests like this:Adds utility function (
requireEnv) to check env variables are defined: