public
Created

  • Download Gist
gistfile1.sh
Shell
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 33 34 35 36 37
$ 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.
 
@wip
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
 
@wip
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
cannot fill in, no text field, text area or password field with id, name, or label 'Nombre' found (Capybara::ElementNotFound)
(eval):2:in `fill_in'
./features/step_definitions/location_steps.rb:27:in `/^I fill in "([^"]*)" with "([^"]*)"$/'
features/manage_locations.feature:28:in `And I fill in "Nombre" with "buena ubicación"'
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 -p wip features/manage_locations.feature:25 # Scenario: Create a new location
 
2 scenarios (1 failed, 1 passed)
9 steps (1 failed, 2 skipped, 6 passed)
0m1.319s
 
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'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.