public
Created

  • Download Gist
gistfile1.feature
Cucumber
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
 
Scenario Outline: List locations
Given there is a location named "<location>"
And I am on the <language> site
When I am on the locations page
Then I should see "<title>"
And I should see "<result>"
 
Examples:
| location | language | title | result |
| location 1 | en | Locations | location 1 |
| location 2 | es | Locaciones | location 2 |
 
Scenario Outline:: Create a new location
Given I am on the <language> site
And I am on new location page
And I fill in "<name>" with "<location>"
When I press "<button>"
Then I should see "<result>"
 
Examples:
| language | name | location | button | result |
| en | Name | location 1 | Create | location 1 |
| es | Nombre | location 1 | crear | location 1 |

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.