$ 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: 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
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
no button with value or id or text 'crear' found (Capybara::ElementNotFound)
./features/step_definitions/location_steps.rb:31:in `/^I press "([^"]*)"$/'
features/manage_locations.feature:29:in `When I press "crear"'
Then I should see "buena ubicación" # features/step_definitions/location_steps.rb:9
cucumber -p wip features/manage_locations.feature:25 # Scenario: Create a new location
2 scenarios (1 failed, 1 passed)
9 steps (1 failed, 1 skipped, 7 passed)
The --wip switch was used, so I didn't expect anything to pass. These scenarios passed:
(::) passed scenarios (::)
features/manage_locations.feature:19:in `Scenario: Create a new location'