Skip to content

Instantly share code, notes, and snippets.

@ihoka
Created October 24, 2009 14:30
Show Gist options
  • Save ihoka/217554 to your computer and use it in GitHub Desktop.
Save ihoka/217554 to your computer and use it in GitHub Desktop.
@wip
Scenario Outline: Filtering sample key results # features/appraisal_setup/listing_sample_key_results.feature:20
Given I am on the appraisal setup page # features/step_definitions/webrat_steps.rb:6
When I fill in "<field>" with "<value>" # features/step_definitions/webrat_steps.rb:28
And I press "Filter" # features/step_definitions/webrat_steps.rb:14
Then I should see "<found>" in table "sample_key_results" # features/step_definitions/webrat_steps.rb:188
And I should not see "<not_found>" in table "sample_key_results" # features/step_definitions/webrat_steps.rb:196
Examples:
| field | value | found | not_found |
| Area | Finance | Increase repeat revenues | Improve some project |
| Key Result | revenues | Increase repeat revenues | Improve some project |
undefined method `failed?' for #<Cucumber::Ast::ScenarioOutline:0x1f8fd44> (NoMethodError)
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/formatter/rerun.rb:36:in `after_feature_element'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:168:in `__send__'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:168:in `send_to_all'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:166:in `each'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:166:in `send_to_all'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:159:in `broadcast'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/feature.rb:25:in `accept'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/feature.rb:24:in `each'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/feature.rb:24:in `accept'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:158:in `broadcast'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/features.rb:29:in `accept'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/features.rb:17:in `each'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/features.rb:17:in `each'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/features.rb:28:in `accept'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:158:in `broadcast'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/cli/main.rb:55:in `execute!'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/../lib/cucumber/cli/main.rb:24:in `execute'
/Library/Ruby/Gems/1.8/gems/cucumber-0.4.2/bin/cucumber:9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment