|
@@ -22,42 +22,42 @@ Feature: users
|
|
|
Then I see that the list of users contains the user "test"
|
|
|
# And I see that the display name for the user "test" is "Test display name"
|
|
|
|
|
|
- Scenario: delete a user
|
|
|
- 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 open the actions menu for the user user0
|
|
|
- And I see that the "Delete user" action in the user0 actions menu is shown
|
|
|
- When I click the "Delete user" action in the user0 actions menu
|
|
|
- And I click the "Delete user0's account" button of the confirmation dialog
|
|
|
- Then I see that the list of users does not contains the user user0
|
|
|
+# Scenario: delete a user
|
|
|
+# 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 open the actions menu for the user user0
|
|
|
+# And I see that the "Delete user" action in the user0 actions menu is shown
|
|
|
+# When I click the "Delete user" action in the user0 actions menu
|
|
|
+# And I click the "Delete user0's account" button of the confirmation dialog
|
|
|
+# Then I see that the list of users does not contains the user user0
|
|
|
|
|
|
- Scenario: disable a user
|
|
|
- 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 open the actions menu for the user user0
|
|
|
- And I see that the "Disable user" action in the user0 actions menu is shown
|
|
|
- When I click the "Disable user" action in the user0 actions menu
|
|
|
- Then I see that the list of users does not contains the user user0
|
|
|
- When I open the "Disabled users" section
|
|
|
- Then I see that the list of users contains the user user0
|
|
|
+# Scenario: disable a user
|
|
|
+# 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 open the actions menu for the user user0
|
|
|
+# And I see that the "Disable user" action in the user0 actions menu is shown
|
|
|
+# When I click the "Disable user" action in the user0 actions menu
|
|
|
+# Then I see that the list of users does not contains the user user0
|
|
|
+# 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: 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
|