Commit 99e7e985aeac21818e73ce44c9dad982d820458a
1 parent
b23b7dff
Exists in
colab
and in
4 other branches
Fixes user update acceptance test
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
features/users/user_update.feature
@@ -3,6 +3,7 @@ Feature: User update | @@ -3,6 +3,7 @@ Feature: User update | ||
3 | As a regular user | 3 | As a regular user |
4 | I want to have an edit page | 4 | I want to have an edit page |
5 | 5 | ||
6 | + @javascript | ||
6 | Scenario: with current password | 7 | Scenario: with current password |
7 | Given I am a regular user | 8 | Given I am a regular user |
8 | And I am signed in | 9 | And I am signed in |
@@ -11,5 +12,5 @@ Feature: User update | @@ -11,5 +12,5 @@ Feature: User update | ||
11 | And I fill the Name field with "Rafael Manzo" | 12 | And I fill the Name field with "Rafael Manzo" |
12 | And I fill the Current password field with "password" | 13 | And I fill the Current password field with "password" |
13 | And I press the Update button | 14 | And I press the Update button |
14 | - Then I should see "You updated your account successfully" | 15 | + Then I should see "Your account has been updated successfully" |
15 | And my name should have changed to Rafael Manzo | 16 | And my name should have changed to Rafael Manzo |
16 | \ No newline at end of file | 17 | \ No newline at end of file |