Skip to content

Instantly share code, notes, and snippets.

@bmishkin
Created October 13, 2011 19:15
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/1285215 to your computer and use it in GitHub Desktop.
Save bmishkin/1285215 to your computer and use it in GitHub Desktop.
latest cukes for country stone
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)
scope '#person_w_three_com' not found on page (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_person_plants.feature:21:in `And I follow "w@three.com" within "#person_w_three_com"'
3)
scope '#person_w_three_com' not found on page (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_person_plants.feature:27:in `And I follow "Edit" within "#person_w_three_com"'
4)
scope '#person_w_three_com' not found on page (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_person_roles.feature:21:in `And I follow "w@three.com" within "#person_w_three_com"'
5)
scope '#person_w_three_com' not found on page (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_person_roles.feature:34:in `And I follow "Edit" within "#person_w_three_com"'
6)
undefined method `click' for nil:NilClass (NoMethodError)
./features/step_definitions/web_extended_steps.rb:41: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:48:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
7)
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"'
8)
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"'
9)
undefined method `click' for nil:NilClass (NoMethodError)
./features/step_definitions/web_extended_steps.rb:41: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'
10)
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"'
3836/3923: 100% |==========================================| Time: 00:17:57
Failing Scenarios:
cucumber features/manage_labels.feature:17 # Scenario: Create a label on produced goods
cucumber features/manage_person_plants.feature:18 # Scenario: See assigned plants
cucumber features/manage_person_plants.feature:25 # Scenario: Add a plants
cucumber features/manage_person_roles.feature:18 # Scenario: See assigned roles
cucumber features/manage_person_roles.feature:32 # Scenario: Add a role
cucumber features/manage_purchase_orders.feature:45 # Scenario: New Purchase Order total_price calculations with no tax or freight and quantity of 2
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/tracks_person.feature:14 # Scenario: Person tracked when creating a purchase order
340 scenarios (10 failed, 10 pending, 320 passed)
3930 steps (10 failed, 87 skipped, 10 pending, 3823 passed)
17m57.203s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment