Skip to content

Instantly share code, notes, and snippets.

@bmishkin
Created October 12, 2011 16:50
Show Gist options
  • Save bmishkin/1281797 to your computer and use it in GitHub Desktop.
Save bmishkin/1281797 to your computer and use it in GitHub Desktop.
costone 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)
Unable to find 'li a:contains('InvItem2')' (Capybara::ElementNotFound)
./features/step_definitions/web_extended_steps.rb:40: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_batch_purchase_orders.feature:22:in `And I select the option containing "InvItem2" from "inventory_item_id[0]" autocomplete'
2)
expected false to be true (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/table_steps.rb:23:in `/^I should( not)? see the following table rows?( in any order)?:?$/'
features/manage_demand_report.feature:18:in `Then I should see the following table rows in any order:'
3)
expected #has_no_content?("450") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:142:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:140:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_inventory_productions.feature:47:in `And I should not see "450"'
4)
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] resource://fxdriver/modules/atoms.js:9280:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
./features/step_definitions/web_extended_steps.rb:40: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_journal_adjustments.feature:34:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete'
5)
Unable to find '#<XPath::Union:0x007f8607516438>' (Capybara::ElementNotFound)
./features/step_definitions/web_extended_steps.rb:36:in `/^I select ?(?:the option containing)? "([^\"]*)" from "([^\"]*)" autocomplete$/'
features/manage_journal_adjustments.feature:53:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete'
6)
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-12-2011.pdf.rgerr -sOutputFile=/tmp/checks_10-12-2011.pdf -dDEVICEWIDTHPOINTS=842 -dDEVICEHEIGHTPOINTS=597 /tmp/checks_10-12-2011.pdf.rgin
7)
Unable to find 'li a:contains('InvItem1')' (Capybara::ElementNotFound)
./features/step_definitions/web_extended_steps.rb:40: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:39:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
8)
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"'
9)
expected #has_content?("9999") 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_receive_payments.feature:26:in `Then I should see "9999"'
10)
Timeout::Error (Timeout::Error)
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request'
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_receive_payments.feature:37:in `And I press "Set Filter"'
11)
expected #has_content?("8888") 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_receive_payments.feature:53:in `Then I should see "8888"'
12)
Timeout::Error (Timeout::Error)
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request'
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_receive_payments.feature:63:in `And I press "Set Filter"'
13)
Timeout::Error (Timeout::Error)
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1169:in `request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1162:in `block in request'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:627:in `start'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:1160:in `request'
./features/step_definitions/web_steps.rb:29:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:28:in `/^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_receive_payments.feature:75:in `And I press "Set Filter"'
14)
Unable to find 'li a:contains('WeBuild')' (Capybara::ElementNotFound)
./features/step_definitions/web_extended_steps.rb:40: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_receive_payments.feature:90:in `And I select the option containing "WeBuild" from "Plant" autocomplete'
15)
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] resource://fxdriver/modules/atoms.js:9280:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
./features/step_definitions/web_extended_steps.rb:40: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_journal_adjustments.feature:21:in `And I select the option containing "1 - Main" from "transaction_account_postings_attributes_1_plant_id" autocomplete'
16)
Unable to find 'li a:contains('InvItem2')' (Capybara::ElementNotFound)
./features/step_definitions/web_extended_steps.rb:40: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'
17)
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] resource://fxdriver/modules/atoms.js:9280:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111012-30565-1ifjabq/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
./features/step_definitions/web_steps.rb:83:in `block (2 levels) in <top (required)>'
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:82:in `/^(?:|I )select "([^"]*)" from "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_session_transaction_logs.feature:20:in `When I literally create a random journal adjustment at corporation "Gooser"'
18)
The response was an attachment..
Expected /^((?!attachment).)*$/ to match "attachment; filename=\"consolidated_pick_lists_ship_tickets_3349900000001.pdf\"". (MiniTest::Assertion)
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/minitest/unit.rb:85:in `assert'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/test/unit/assertions.rb:19:in `assert'
/Users/bmishkin/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/minitest/unit.rb:176:in `assert_match'
./features/step_definitions/web_extended_steps.rb:148:in `/^I should not receive a file$/'
features/sales_order_queues.feature:140:in `Then I should not receive a file'
19)
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"'
3816/3932: 100% |==========================================| Time: 00:21:11
Failing Scenarios:
cucumber features/manage_batch_purchase_orders.feature:17 # Scenario: Create batch purchase orders from recurring order
cucumber features/manage_demand_report.feature:16 # Scenario: Basic report data
cucumber features/manage_inventory_productions.feature:40 # Scenario: Revise an existing, scheduled inventory production order
cucumber features/manage_journal_adjustments.feature:24 # Scenario: Create a valid Journal Adjustment
cucumber features/manage_journal_adjustments.feature:44 # Scenario: When credits and debits are unequal, cannot submit a valid journal entry.
cucumber features/manage_labels.feature:17 # Scenario: Create a label on produced goods
cucumber features/manage_purchase_orders.feature:35 # Scenario: New Purchase Order change Item
cucumber features/manage_purchase_orders.feature:93 # Scenario: Edit a purchase order
cucumber features/manage_receive_payments.feature:19 # Scenario: Receive payment filters (sales order filter test)
cucumber features/manage_receive_payments.feature:31 # Scenario: Receive payment filters (only show invoiced sales orders)
cucumber features/manage_receive_payments.feature:44 # Scenario: Receive payment filters (customer with default loc selected should all customer orders)
cucumber features/manage_receive_payments.feature:57 # Scenario: Pre-select default customer bank account
cucumber features/manage_receive_payments.feature:68 # Scenario: Show terms adjusted balances
cucumber features/manage_receive_payments.feature:85 # Scenario: Create a received payment
cucumber features/manage_recurring_journal_adjustments.feature:12 # Scenario: Create a journal adjustment and save as recurring
cucumber features/manage_recurring_orders.feature:38 # Scenario: Create a sales order and save as recurring in one click
cucumber features/manage_session_transaction_logs.feature:17 # Scenario: View my own transaction in the log
cucumber features/sales_order_queues.feature:132 # Scenario: Mass print selected pick lists should not return empty file for invalid orders
cucumber features/tracks_person.feature:14 # Scenario: Person tracked when creating a purchase order
342 scenarios (19 failed, 10 pending, 313 passed)
3939 steps (19 failed, 116 skipped, 10 pending, 3794 passed)
21m11.012s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment