Commit ac906037fb90ee0710612c803de5719906d7f141
1 parent
493dd777
Exists in
master
and in
27 other branches
edit-profile: adapt cucumber test to new format of birth-date
Showing
1 changed file
with
2 additions
and
6 deletions
Show diff stats
features/edit_profile.feature
@@ -12,9 +12,7 @@ Feature: edit profile | @@ -12,9 +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 "November" from "profile_data_birth_date_2i" | ||
16 | - And I select "15" from "profile_data_birth_date_3i" | ||
17 | - And I select "1980" from "profile_data_birth_date_1i" | 15 | + And I select "1980-11-15" from "profile_data_birth_date" |
18 | And I press "Save" | 16 | And I press "Save" |
19 | Then I should not see "Birth date is invalid" | 17 | Then I should not see "Birth date is invalid" |
20 | And I should not see "Birth date is mandatory" | 18 | And I should not see "Birth date is mandatory" |
@@ -25,9 +23,7 @@ Feature: edit profile | @@ -25,9 +23,7 @@ Feature: edit profile | ||
25 | | birth_date | | 23 | | birth_date | |
26 | When I go to joao's control panel | 24 | When I go to joao's control panel |
27 | And I follow "Edit Profile" | 25 | And I follow "Edit Profile" |
28 | - And I select "November" from "profile_data_birth_date_2i" | ||
29 | - And I select "15" from "profile_data_birth_date_3i" | ||
30 | - And I select "1980" from "profile_data_birth_date_1i" | 26 | + And I select "1980-11-15" from "profile_data_birth_date" |
31 | And I press "Save" | 27 | And I press "Save" |
32 | Then I should not see "Birth date is invalid" | 28 | Then I should not see "Birth date is invalid" |
33 | And I should not see "Birth date is mandatory" | 29 | And I should not see "Birth date is mandatory" |