Commit 4a3b588b2589f302fb96b2359c385d1076332ad0
1 parent
b207e834
Exists in
master
and in
29 other branches
edit-profile: update cucumber test to new birth date format
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
features/edit_profile.feature
@@ -12,7 +12,7 @@ Feature: edit profile | @@ -12,7 +12,7 @@ Feature: edit profile | ||
12 | | birth_date | | 12 | | birth_date | |
13 | When I go to joao's control panel | 13 | When I go to joao's control panel |
14 | And I follow "Edit Profile" | 14 | And I follow "Edit Profile" |
15 | - And I select "1980-11-15" from "profile_data_birth_date" | 15 | + And I fill in "Birth date" with "1980-11-15" |
16 | And I press "Save" | 16 | And I press "Save" |
17 | Then I should not see "Birth date is invalid" | 17 | Then I should not see "Birth date is invalid" |
18 | And I should not see "Birth date is mandatory" | 18 | And I should not see "Birth date is mandatory" |
@@ -23,7 +23,7 @@ Feature: edit profile | @@ -23,7 +23,7 @@ Feature: edit profile | ||
23 | | birth_date | | 23 | | birth_date | |
24 | When I go to joao's control panel | 24 | When I go to joao's control panel |
25 | And I follow "Edit Profile" | 25 | And I follow "Edit Profile" |
26 | - And I select "1980-11-15" from "profile_data_birth_date" | 26 | + And I fill in "Birth date" with "1980-11-15" |
27 | And I press "Save" | 27 | And I press "Save" |
28 | Then I should not see "Birth date is invalid" | 28 | Then I should not see "Birth date is invalid" |
29 | And I should not see "Birth date is mandatory" | 29 | And I should not see "Birth date is mandatory" |