aboutsummaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-14 22:28:11 +0200
committerMichael Weimann <mail@michael-weimann.eu>2018-08-14 22:28:11 +0200
commit55cf7c35e17e756223d04aae84939984ff653f5d (patch)
tree4573d7c19b7187adaea5de7fbc6f16937d6bf439 /tests/acceptance/features
parentd05c815796152f0d76c459e893f154b3b78005aa (diff)
downloadnextcloud-server-55cf7c35e17e756223d04aae84939984ff653f5d.tar.gz
nextcloud-server-55cf7c35e17e756223d04aae84939984ff653f5d.zip
Adds an acceptance test for the users settings navigation without disabled users
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r--tests/acceptance/features/users.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/acceptance/features/users.feature b/tests/acceptance/features/users.feature
index 6baf3063631..b5a22cd3940 100644
--- a/tests/acceptance/features/users.feature
+++ b/tests/acceptance/features/users.feature
@@ -43,6 +43,20 @@ Feature: users
When I open the "Disabled users" section
Then I see that the list of users contains the user user0
+ Scenario: users navigation without disabled users
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ And I open the "Disabled users" section
+ And I see that the list of users contains the user disabledUser
+ And I open the actions menu for the user disabledUser
+ And I see that the "Enable user" action in the disabledUser actions menu is shown
+ When I click the "Enable user" action in the disabledUser actions menu
+ Then I see that the section "Disabled users" is not shown
+ # check again after reloading the settings
+ When I open the User settings
+ Then I see that the section "Disabled users" is not shown
+
Scenario: assign user to a group
Given I act as Jane
And I am logged in as the admin