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 29 30 31 32
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
 
Scenario: List a location.
Given there is a location named "location 1"
And I am on the en site
When I am on the locations page
Then I should see "Locations"
And I should see "location 1"
 
Scenario: List a location.
Given there is a location named "location 1"
And I am on the es site
When I am on the locations page
Then I should see "Locaciones"
And I should see "location 1"
 
Scenario: Create a new location
Given I am on the en site
And I am on new location page
And I fill in "Name" with "Shiny location"
When I press "Create"
Then I should see "Shiny location"
 
Scenario: Create a new location
Given I am on the es site
And I am on new location page
And I fill in "Nombre" with "buena ubicaciĆ³n"
When I press "crear"
Then I should see "buena ubicaciĆ³n"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.