Commit 4a3b588b2589f302fb96b2359c385d1076332ad0

Authored by Rodrigo Souto
1 parent b207e834

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