$ cucumber --profile wip
Using the wip profile...
Feature: Manage locations
In order to manage locations
As a user
I want to create and edit my locations.
Scenario Outline: Edit a location # features/managing_locations.feature:31
Given I am on the <language> site # features/step_definitions/location_steps.rb:5
And there is a location named "<location>" # features/step_definitions/location_steps.rb:1
When I "<action>" the location "<field>" to "<new_name>" # features/step_definitions/location_steps.rb:33
Then I should see "<new_name>" # features/step_definitions/location_steps.rb:13
| language | location | action | field | new_name |
| en | location 1 | Update | Name | location has changed |
| es | location 1 | Actualizar | Nombre | location has changed |
cannot fill in, no text field, text area or password field with id, name, or label 'Nombre' found (Capybara::ElementNotFound)
./features/step_definitions/location_steps.rb:36:in `/^I "([^"]*)" the location "([^"]*)" to "([^"]*)"$/'
features/managing_locations.feature:34:in `When I "<action>" the location "<field>" to "<new_name>"'
cucumber -p wip features/managing_locations.feature:31 # Scenario: Edit a location
2 scenarios (1 failed, 1 passed)
8 steps (1 failed, 1 skipped, 6 passed)
The --wip switch was used, so I didn't expect anything to pass. These scenarios passed:
(::) passed scenarios (::)
features/managing_locations.feature:39:in `| en | location 1 | Update | Name | location has changed |'