Commit 2a2a7bda73be2e13b98f1916d6642a6ddedbf960

Authored by Daniel Cunha
1 parent 9a4287df

location.feature

Showing 1 changed file with 5 additions and 4 deletions   Show diff stats
features/location.feature
@@ -16,13 +16,14 @@ Feature: Location @@ -16,13 +16,14 @@ Feature: Location
16 | state | 16 | state |
17 | city | 17 | city |
18 | zip_code | 18 | zip_code |
19 - And I go to the Control panel 19 + And I go to zezinho's control panel
20 And I follow "Location" 20 And I follow "Location"
21 When I fill in "Address" with "Rua Marechal Floriano, 28" 21 When I fill in "Address" with "Rua Marechal Floriano, 28"
22 And I select "Brazil" from "Country" 22 And I select "Brazil" from "Country"
23 And I fill in "State" with "Bahia" 23 And I fill in "State" with "Bahia"
24 And I fill in "City" with "Salvador" 24 And I fill in "City" with "Salvador"
25 - And I fill in "ZIP Code" with "40110010" 25 + And I fill in "ZIP code" with "40110010"
  26 + And I follow "Locate in the map"
26 And I press "Save" 27 And I press "Save"
27 Then "zezinho" should have the following data 28 Then "zezinho" should have the following data
28 | address | country | state | city | zip_code | 29 | address | country | state | city | zip_code |
@@ -38,14 +39,14 @@ Feature: Location @@ -38,14 +39,14 @@ Feature: Location
38 Given the following <plural> 39 Given the following <plural>
39 | identifier | name | owner | 40 | identifier | name | owner |
40 | mycollective | My Collective | zezinho | 41 | mycollective | My Collective | zezinho |
41 - And I am on My Collective's control panel 42 + And I am on mycollective's control panel
42 And I follow "Location" 43 And I follow "Location"
43 And I select "Brazil" from "Country" 44 And I select "Brazil" from "Country"
44 And I fill in the following: 45 And I fill in the following:
45 | Address | Rua Marechal Floriano, 28 | 46 | Address | Rua Marechal Floriano, 28 |
46 | State | Bahia | 47 | State | Bahia |
47 | City | Salvador | 48 | City | Salvador |
48 - | ZIP Code | 40110010 | 49 + | ZIP code | 40110010 |
49 When I press "Save" 50 When I press "Save"
50 Then "mycollective" should have the following data 51 Then "mycollective" should have the following data
51 | address | country | state | city | zip_code | 52 | address | country | state | city | zip_code |