Commit ac906037fb90ee0710612c803de5719906d7f141

Authored by Rodrigo Souto
1 parent 493dd777

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 12 | birth_date |
13 13 When I go to joao's control panel
14 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 16 And I press "Save"
19 17 Then I should not see "Birth date is invalid"
20 18 And I should not see "Birth date is mandatory"
... ... @@ -25,9 +23,7 @@ Feature: edit profile
25 23 | birth_date |
26 24 When I go to joao's control panel
27 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 27 And I press "Save"
32 28 Then I should not see "Birth date is invalid"
33 29 And I should not see "Birth date is mandatory"
... ...