Skip to content

Instantly share code, notes, and snippets.

@bmishkin
Created October 13, 2011 17:53
Show Gist options
  • Save bmishkin/1284937 to your computer and use it in GitHub Desktop.
Save bmishkin/1284937 to your computer and use it in GitHub Desktop.
countryscukes
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)
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-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/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'
2)
Unable to find '#<XPath::Union:0x007fe0d508eb58>' (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'
3)
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
4)
expected #has_no_content?("ABC") 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_outgoing_payments.feature:46:in `And I should not see "ABC"'
5)
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:48:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
6)
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:60:in `And I select the option containing "InvItem1" from "inventory_item_id[0]" autocomplete'
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:81: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)
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-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/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'
10)
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'
11)
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-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:249:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:298:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/components/nsCommandProcessor.js:313:in `'
[remote server] file:///var/folders/rr/352wgbw55pl2zznq_bn9yg2w0000gn/T/webdriver-profile20111013-65690-12v5jou/extensions/[email protected]/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"'
12)
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 "[email protected]" with password "testme" and full name "Whodun It"'
3805/3915: 100% |==========================================| Time: 00:18:26
Failing Scenarios:
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_outgoing_payments.feature:40 # Scenario: Positive Pay Export (Date filter)
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:56 # Scenario: New Purchase Order total_price calculations with tax, freight and quantity of 10
cucumber features/manage_purchase_orders.feature:70 # Scenario: Create a purchase order
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: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/tracks_person.feature:14 # Scenario: Person tracked when creating a purchase order
340 scenarios (12 failed, 10 pending, 318 passed)
3922 steps (12 failed, 110 skipped, 10 pending, 3790 passed)
18m26.121s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment