|
|
@ -23,16 +23,16 @@ Feature: Update User Information |
|
|
|
@javascript |
|
|
|
@javascript |
|
|
|
Scenario: A user is able to change his mail address if the settings permit it |
|
|
|
Scenario: A user is able to change his mail address if the settings permit it |
|
|
|
Given I am admin |
|
|
|
Given I am admin |
|
|
|
And I go to the my account page |
|
|
|
And I go to the my account page |
|
|
|
And I fill in "user_mail" with "john@doe.com" |
|
|
|
And I fill in "user_mail" with "john@doe.com" |
|
|
|
And I click on "Save" |
|
|
|
And I submit the form by the "Save" button |
|
|
|
Then I should see "Account was successfully updated." |
|
|
|
Then I should see "Account was successfully updated." |
|
|
|
|
|
|
|
|
|
|
|
@javascript |
|
|
|
@javascript |
|
|
|
Scenario: A user is able to change his name if the settings permit it |
|
|
|
Scenario: A user is able to change his name if the settings permit it |
|
|
|
Given I am admin |
|
|
|
Given I am admin |
|
|
|
And I go to the my account page |
|
|
|
And I go to the my account page |
|
|
|
And I fill in "user_firstname" with "Jon" |
|
|
|
And I fill in "user_firstname" with "Jon" |
|
|
|
And I fill in "user_lastname" with "Doe" |
|
|
|
And I fill in "user_lastname" with "Doe" |
|
|
|
And I click on "Save" |
|
|
|
And I submit the form by the "Save" button |
|
|
|
Then I should see "Account was successfully updated." |
|
|
|
Then I should see "Account was successfully updated." |
|
|
|