2019-02-28 07:59:00 -05:00
|
|
|
@apache
|
2018-05-09 10:53:16 -04:00
|
|
|
Feature: users
|
|
|
|
|
|
2018-05-09 13:53:08 -04:00
|
|
|
Scenario: assign user to a group
|
|
|
|
|
Given I act as Jane
|
|
|
|
|
And I am logged in as the admin
|
|
|
|
|
And I open the User settings
|
2023-07-10 19:18:48 -04:00
|
|
|
# And I see that the list of users contains the user user0
|
|
|
|
|
# When I toggle the edit mode for the user user0
|
|
|
|
|
# Then I see that the edit mode is on for user user0
|
2019-09-23 07:00:04 -04:00
|
|
|
# disabled because we need the TAB patch:
|
2018-05-10 10:00:48 -04:00
|
|
|
# https://github.com/minkphp/MinkSelenium2Driver/pull/244
|
|
|
|
|
# When I assign the user user0 to the group admin
|
|
|
|
|
# Then I see that the section Admins is shown
|
|
|
|
|
# And I see that the section Admins has a count of 2
|
2019-09-23 07:00:04 -04:00
|
|
|
|
2018-05-09 13:53:08 -04:00
|
|
|
Scenario: create and delete a group
|
|
|
|
|
Given I act as Jane
|
|
|
|
|
And I am logged in as the admin
|
|
|
|
|
And I open the User settings
|
2023-07-10 19:18:48 -04:00
|
|
|
# And I see that the list of users contains the user user0
|
2019-09-23 07:00:04 -04:00
|
|
|
# disabled because we need the TAB patch:
|
2018-05-10 10:00:48 -04:00
|
|
|
# https://github.com/minkphp/MinkSelenium2Driver/pull/244
|
|
|
|
|
# And I assign the user user0 to the group Group1
|
|
|
|
|
# And I see that the section Group1 is shown
|
|
|
|
|
# And I click the "icon-delete" button on the Group1 section
|
|
|
|
|
# And I see that the confirmation dialog is shown
|
|
|
|
|
# When I click the "Yes" button of the confirmation dialog
|
2018-07-18 17:10:35 -04:00
|
|
|
# Then I see that the section Group1 is not shown
|
|
|
|
|
|
|
|
|
|
Scenario: delete an empty group
|
|
|
|
|
Given I act as Jane
|
|
|
|
|
And I am logged in as the admin
|
|
|
|
|
And I open the User settings
|
|
|
|
|
# disabled because we need the TAB patch:
|
|
|
|
|
# https://github.com/minkphp/MinkSelenium2Driver/pull/244
|
|
|
|
|
# And I assign the user user0 to the group Group1
|
|
|
|
|
# And I see that the section Group1 is shown
|
|
|
|
|
# And I withdraw the user user0 from the group Group1
|
|
|
|
|
# And I see that the section Group1 does not have a count
|
|
|
|
|
# And I click the "icon-delete" button on the Group1 section
|
|
|
|
|
# And I see that the confirmation dialog is shown
|
|
|
|
|
# When I click the "Yes" button of the confirmation dialog
|
2018-05-10 10:00:48 -04:00
|
|
|
# Then I see that the section Group1 is not shown
|
2018-05-09 13:53:08 -04:00
|
|
|
|
2019-03-12 12:06:04 -04:00
|
|
|
# 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"
|
2018-05-11 03:57:13 -04:00
|
|
|
|
|
|
|
|
Scenario: change user quota
|
|
|
|
|
Given I act as Jane
|
|
|
|
|
And I am logged in as the admin
|
|
|
|
|
And I open the User settings
|
2023-07-10 19:18:48 -04:00
|
|
|
# And I see that the list of users contains the user user0
|
|
|
|
|
# When I toggle the edit mode for the user user0
|
|
|
|
|
# Then I see that the edit mode is on for user user0
|
|
|
|
|
# And I see that the user quota of user0 is Unlimited
|
2019-09-23 07:00:04 -04:00
|
|
|
# disabled because we need the TAB patch:
|
2018-05-11 03:57:13 -04:00
|
|
|
# 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
|
2018-05-26 04:51:24 -04:00
|
|
|
# Then I see that the user quota of user0 is "1 GB"
|
|
|
|
|
# When I set the user user0 quota to Unlimited
|
|
|
|
|
# And I see that the quota cell for user user0 is done loading
|
|
|
|
|
# Then I see that the user quota of user0 is Unlimited
|
|
|
|
|
# When I set the user user0 quota to 0
|
|
|
|
|
# And I see that the quota cell for user user0 is done loading
|
|
|
|
|
# Then I see that the user quota of user0 is "0 B"
|
|
|
|
|
# When I set the user user0 quota to Default
|
|
|
|
|
# And I see that the quota cell for user user0 is done loading
|
2019-09-23 07:00:04 -04:00
|
|
|
# Then I see that the user quota of user0 is "Default quota"
|