Commit f9cb2dd457b8515e470a5926995023b3a46231d7

Authored by Antonio Terceiro
1 parent 13e635a6

Adjusting acceptance test

"Contact us" -> "Send a message"
Showing 1 changed file with 6 additions and 3 deletions   Show diff stats
features/contact.feature
@@ -12,13 +12,16 @@ In order to ask questions and solve problems @@ -12,13 +12,16 @@ In order to ask questions and solve problems
12 | sample-community | Sample Community | 12 | sample-community | Sample Community |
13 And I am logged in as "joaosilva" 13 And I am logged in as "joaosilva"
14 14
15 - Scenario: contact us show state field only if there is any state 15 + Scenario: without states
16 Given I am on Sample Community's homepage 16 Given I am on Sample Community's homepage
17 - When I follow "Contact us" 17 + When I follow "Send a message"
18 Then I should not see "City and state" 18 Then I should not see "City and state"
  19 +
  20 + Scenario: with states
19 Given the following states 21 Given the following states
20 | name | 22 | name |
21 | Bahia | 23 | Bahia |
22 - When I follow "Contact us" 24 + And I am on Sample Community's homepage
  25 + When I follow "Send a message"
23 Then I should see "City and state" 26 Then I should see "City and state"
24 27