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
$ 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 Outline: Delete a location # features/managing_locations.feature:42
Given there are 4 locations # features/step_definitions/location_steps.rb:33
And I am on the <language> site # features/step_definitions/location_steps.rb:5
And I <action> the 3rd location # features/step_definitions/location_steps.rb:37
Then I should see 3 locations # features/step_definitions/location_steps.rb:44
 
Examples:
| language | action |
| en | Delete |
| es | Borrar |
no link with title, id or text 'Borrar' found (Capybara::ElementNotFound)
(eval):2:in `click_link'
./features/step_definitions/location_steps.rb:40:in `block (2 levels) in <top (required)>'
./features/step_definitions/location_steps.rb:39:in `/^I (.*) the (\d+)rd location$/'
features/managing_locations.feature:45:in `And I <action> the 3rd location'
 
Failing Scenarios:
cucumber -p wip features/managing_locations.feature:42 # Scenario: Delete a location
 
2 scenarios (1 failed, 1 passed)
8 steps (1 failed, 1 skipped, 6 passed)
0m2.436s
 
The --wip switch was used, so I didn't expect anything to pass. These scenarios passed:
(::) passed scenarios (::)
 
features/managing_locations.feature:50:in `| en | Delete |'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.