Skip to content

Commit

Permalink
Test member count of LDAP group on webUI
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jan 18, 2022
1 parent d5986c1 commit 3a2faf2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/acceptance/features/webUIProvisioning/groups.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ Feature: add group
And user admin has logged in using the webUI
And the administrator has browsed to the users page

Scenario: An LDAP group should be listed but the member count is not known
Then the group name "grp1" should be listed on the webUI
And the user count of group "grp1" should display 0 users on the webUI
# there are 2 LDAP users in this LDAP group
# TBD if we can or should display that information
#And the user count of group "grp1" should display 2 users on the webUI
# or a step like this: (maybe there should be no count displayed for LDAP groups
#And the user count of group "grp1" should not be displayed on the webUI

Scenario: Adding a simple database group should be possible
When the administrator adds group "simple-group" using the webUI
Then the group name "simple-group" should be listed on the webUI
Expand Down Expand Up @@ -65,6 +74,9 @@ Feature: add group
When the administrator adds user "db-user" to group "db-group" using the webUI
Then user "db-user" should exist
And user "db-user" should belong to group "db-group"
And the user count of group "db-group" should display 0 users on the webUI
# for a database group and user, we should really see the user in the count
#And the user count of group "db-group" should display 1 users on the webUI

@issue-core-25224
Scenario: Adding database user to LDAP group should not be possible
Expand All @@ -80,6 +92,10 @@ Feature: add group
When the administrator adds user "Alice" to group "db-group" using the webUI
Then user "Alice" should exist
And user "Alice" should belong to group "db-group"
And the user count of group "db-group" should display 0 users on the webUI
# for a database group and LDAP user, we should really see the user in the count
# The group and group membership is all on the server, not back in LDAP
#And the user count of group "db-group" should display 1 users on the webUI

@issue-core-25224
Scenario: Adding LDAP user to LDAP group should not be possible
Expand Down

0 comments on commit 3a2faf2

Please sign in to comment.