|
|
|
|
@ -4,7 +4,7 @@ Feature: Profile page |
|
|
|
|
Background: |
|
|
|
|
Given I am a student |
|
|
|
|
|
|
|
|
|
Scenario: Update profile with first name Andrew then restore Andrea |
|
|
|
|
Scenario: Change user first name with Andrew then restore to Andrea |
|
|
|
|
Given I am on "/account/home" |
|
|
|
|
Then I should see "Profile" |
|
|
|
|
Then I follow "Edit profile" |
|
|
|
|
@ -19,6 +19,6 @@ Feature: Profile page |
|
|
|
|
Then I fill in the following: |
|
|
|
|
| profile_firstname | Andrea | |
|
|
|
|
And I press "update_profile" |
|
|
|
|
And wait for the page to be loaded |
|
|
|
|
Then I should see "Updated" |
|
|
|
|
Then I am on "/main/social/home.php" |
|
|
|
|
Then I should see "Andrea" |
|
|
|
|
And I should see "Andrea" |