Adds an acceptance test for the users settings navigation without disabled users

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
Michael Weimann 2018-08-14 22:28:11 +02:00
parent d05c815796
commit 55cf7c35e1
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
1 changed files with 14 additions and 0 deletions

View File

@ -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