2014-06-04 16:55:27 -04:00
|
|
|
@admin
|
2013-01-09 05:04:55 -05:00
|
|
|
Feature: Admin Users
|
2013-01-09 12:38:27 -05:00
|
|
|
Background:
|
|
|
|
Given I sign in as an admin
|
|
|
|
And system has users
|
2013-01-09 05:04:55 -05:00
|
|
|
|
2013-01-09 12:38:27 -05:00
|
|
|
Scenario: On Admin Users
|
|
|
|
Given I visit admin users page
|
|
|
|
Then I should see all users
|
2013-03-26 01:42:08 -04:00
|
|
|
|
|
|
|
Scenario: Edit user and change username to non ascii char
|
|
|
|
When I visit admin users page
|
|
|
|
And Click edit
|
|
|
|
And Input non ascii char in username
|
|
|
|
And Click save
|
|
|
|
Then See username error message
|
2013-09-12 08:30:55 -04:00
|
|
|
And Not changed form action url
|
2014-02-25 03:15:43 -05:00
|
|
|
|
|
|
|
Scenario: Edit my user attributes
|
|
|
|
Given I visit admin users page
|
|
|
|
And click edit on my user
|
|
|
|
When I submit modified user
|
|
|
|
Then I see user attributes changed
|
2014-06-23 04:39:56 -04:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Remove users secondary email
|
|
|
|
Given I visit admin users page
|
|
|
|
And I view the user with secondary email
|
|
|
|
And I see the secondary email
|
|
|
|
When I click remove secondary email
|
|
|
|
Then I should not see secondary email anymore
|