Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
$ 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
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:12
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:19
Given 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
cannot fill in, no text field, text area or password field with id, name, or label 'Name' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/location_steps.rb:27:in `/^I fill in "([^"]*)" with "([^"]*)"$/'
features/manage_locations.feature:21:in `And I fill in "Name" with "Shiny location"'
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:25
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
Failing Scenarios:
cucumber features/manage_locations.feature:19 # Scenario: Create a new location
4 scenarios (1 failed, 3 passed)
18 steps (1 failed, 2 skipped, 15 passed)
0m0.707s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.