summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/users.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/users.feature')
-rw-r--r--tests/acceptance/features/users.feature42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/acceptance/features/users.feature b/tests/acceptance/features/users.feature
index 7b0839d1b90..9bce32a2daa 100644
--- a/tests/acceptance/features/users.feature
+++ b/tests/acceptance/features/users.feature
@@ -71,3 +71,45 @@ Feature: users
When I toggle the showUserBackend checkbox in the settings
Then I see that the "User backend" column is shown
+ Scenario: change display name
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ And I see that the list of users contains the user user0
+ And I see that the displayName of user0 is user0
+ When I set the displayName for user0 to user1
+ And I see that the displayName cell for user user0 is done loading
+ Then I see that the displayName of user0 is user1
+
+ Scenario: change password
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ And I see that the list of users contains the user user0
+ And I see that the password of user0 is ""
+ When I set the password for user0 to 123456
+ And I see that the password cell for user user0 is done loading
+ # password input is emptied on change
+ Then I see that the password of user0 is ""
+
+ Scenario: change email
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ And I see that the list of users contains the user user0
+ And I see that the mailAddress of user0 is ""
+ When I set the mailAddress for user0 to "test@nextcloud.com"
+ And I see that the mailAddress cell for user user0 is done loading
+ Then I see that the mailAddress of user0 is "test@nextcloud.com"
+
+ Scenario: change user quota
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ And I see that the list of users contains the user user0
+ And I see that the user quota of user0 is Unlimited
+ # disabled because we need the TAB patch:
+ # https://github.com/minkphp/MinkSelenium2Driver/pull/244
+ # When I set the user user0 quota to 1GB
+ # And I see that the quota cell for user user0 is done loading
+ # Then I see that the user quota of user0 is "1 GB" \ No newline at end of file