$ cucumber | |
Using the default profile... | |
Feature: Manage locations | |
In order to manage locations | |
As a user | |
I want to create and edit my locations. | |
Scenario: List a location. # features/manage_locations.feature:6 | |
Given there is a location named "location 1" # features/step_definitions/location_steps.rb:1 | |
And I am on the en site # features/step_definitions/location_steps.rb:17 | |
When I am on the locations page # features/step_definitions/location_steps.rb:5 | |
Then I should see "Locations" # features/step_definitions/location_steps.rb:9 | |
And I should see "location 1" # features/step_definitions/location_steps.rb:9 | |
Scenario: List a location. # features/manage_locations.feature:13 | |
Given there is a location named "location 1" # features/step_definitions/location_steps.rb:1 | |
And I am on the es site # features/step_definitions/location_steps.rb:17 | |
When I am on the locations page # features/step_definitions/location_steps.rb:5 | |
Then I should see "Locaciones" # features/step_definitions/location_steps.rb:9 | |
And I should see "location 1" # features/step_definitions/location_steps.rb:9 | |
Scenario: Create a new location # features/manage_locations.feature:20 | |
Given I am on the en site # features/step_definitions/location_steps.rb:17 | |
And I am on new location page # features/step_definitions/location_steps.rb:22 | |
And I fill in "Name" with "Shiny location" # features/step_definitions/location_steps.rb:26 | |
When I press "Create" # features/step_definitions/location_steps.rb:30 | |
Then I should see "Shiny location" # features/step_definitions/location_steps.rb:9 | |
Scenario: Create a new location # features/manage_locations.feature:27 | |
Given I am on the es site # features/step_definitions/location_steps.rb:17 | |
And I am on new location page # features/step_definitions/location_steps.rb:22 | |
And I fill in "Nombre" with "buena ubicación" # features/step_definitions/location_steps.rb:26 | |
When I press "crear" # features/step_definitions/location_steps.rb:30 | |
Then I should see "buena ubicación" # features/step_definitions/location_steps.rb:9 | |
4 scenarios (4 passed) | |
20 steps (20 passed) | |
0m0.841s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment