Skip to content

Instantly share code, notes, and snippets.

@atz
Created February 18, 2016 22:53
Show Gist options
  • Save atz/dc7db6594e0fa907c074 to your computer and use it in GitHub Desktop.
Save atz/dc7db6594e0fa907c074 to your computer and use it in GitHub Desktop.
rspec errors
1) Bulk jobs view the submit button exists
Failure/Error: visit bulk_jobs_index_path('druid:hv992ry2431')
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: 'undefined' is not an object (evaluating 'b.browser.msie')
TypeError: 'undefined' is not an object (evaluating 'b.browser.msie')
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:12902
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:12903
TypeError: 'undefined' is not a function (evaluating '$('#help_dialog').dialog')
TypeError: 'undefined' is not a function (evaluating '$('#help_dialog').dialog')
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:12274
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:3144
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:3256
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:3468
at http://127.0.0.1:49554/assets/application-86b0b4c2ae963b7e1c111e47da9d7437.js:3499 in completed
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:347:in `command'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/browser.rb:34:in `visit'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/poltergeist-1.8.1/lib/capybara/poltergeist/driver.rb:95:in `visit'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/capybara-2.6.0/lib/capybara/session.rb:232:in `visit'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/capybara-2.6.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/bulk_jobs_spec.rb:19:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment