Skip to content

Instantly share code, notes, and snippets.

@bmishkin
Created October 13, 2011 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmishkin/1285293 to your computer and use it in GitHub Desktop.
Save bmishkin/1285293 to your computer and use it in GitHub Desktop.
countrystone rails 3.0.10 cukes
Hobbes-iMac:countrystone $ cucumber features
Using the default profile...
cleaning out the test database....
Seeding some basic person and roles data....
Seeding account types...
1)
no link with title, id or text 'Show' found (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:35:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_labels.feature:29:in `And I follow "Show"'
/usr/local/bin/gs -dNOPAUSE -dBATCH -dQUIET -dNOPAGEPROMPT -I/Users/bmishkin/.rvm/gems/ruby-1.9.2-p136@rails3-countrystone-erp/gems/rghost-0.8.7.5/lib/rghost/ps -I/Users/bmishkin/.rvm/gems/ruby-1.9.2-p136@rails3-countrystone-erp/gems/rghost_barcode-0.8/lib/rghost_barcode/ps -sDEVICE=pdfwrite -sstdout=/tmp/checks_10-13-2011.pdf.rgerr -sOutputFile=/tmp/checks_10-13-2011.pdf -dDEVICEWIDTHPOINTS=842 -dDEVICEHEIGHTPOINTS=597 /tmp/checks_10-13-2011.pdf.rgin
2)
undefined method `click' for nil:NilClass (NoMethodError)
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/'
features/manage_purchase_orders.feature:60:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
3)
expected #has_content?("InvItem1") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_purchase_orders.feature:105:in `And I should see "InvItem1"'
4)
expected #has_content?("Created general journal entry and saved as recurring") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:121:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:119:in `/^(?:|I )should see "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_recurring_journal_adjustments.feature:26:in `Then I should see "Created general journal entry and saved as recurring"'
5)
undefined method `click' for nil:NilClass (NoMethodError)
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/'
features/manage_recurring_orders.feature:29:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
6)
undefined method `click' for nil:NilClass (NoMethodError)
./features/step_definitions/web_extended_steps.rb:42:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_extended_steps.rb:39:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/'
features/manage_recurring_orders.feature:50:in `And I select the option containing "InvItem2" from "inventory_item_id[0]" autocomplete'
7)
Validation failed: Name has already been taken (ActiveRecord::RecordInvalid)
./features/step_definitions/person_steps.rb:20:in `/^a person "([^"]*)" with password "([^"]*)" and full name "([^"]*)"$/'
features/tracks_person.feature:6:in `Given a person "whodunnit@whodidit.com" with password "testme" and full name "Whodun It"'
3843/3923: 100% |==========================================| Time: 00:13:53
Failing Scenarios:
cucumber features/manage_labels.feature:17 # Scenario: Create a label on produced goods
cucumber features/manage_purchase_orders.feature:56 # Scenario: New Purchase Order total_price calculations with tax, freight and quantity of 10
cucumber features/manage_purchase_orders.feature:93 # Scenario: Edit a purchase order
cucumber features/manage_recurring_journal_adjustments.feature:12 # Scenario: Create a journal adjustment and save as recurring
cucumber features/manage_recurring_orders.feature:17 # Scenario: Create a purchase order and save as recurring in one click
cucumber features/manage_recurring_orders.feature:38 # Scenario: Create a sales order and save as recurring in one click
cucumber features/tracks_person.feature:14 # Scenario: Person tracked when creating a purchase order
340 scenarios (7 failed, 10 pending, 323 passed)
3930 steps (7 failed, 80 skipped, 10 pending, 3833 passed)
13m53.602s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment