Skip to content

Instantly share code, notes, and snippets.

@joliss
Created December 9, 2011 23:42
Show Gist options
  • Save joliss/1453858 to your computer and use it in GitHub Desktop.
Save joliss/1453858 to your computer and use it in GitHub Desktop.
1) Capybara::Session with selenium driver it should behave like session it should behave like check#check should check a checkbox by id
Failure/Error: @session.check("form_pets_cat")
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:82:in `check'
# (eval):2:in `send'
# (eval):2:in `check'
# ./lib/capybara/spec/session/check_spec.rb:48
2) Capybara::Session with selenium driver it should behave like session it should behave like check#check should check a checkbox by label
Failure/Error: @session.check("Cat")
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:82:in `check'
# (eval):2:in `send'
# (eval):2:in `check'
# ./lib/capybara/spec/session/check_spec.rb:54
3) Capybara::Session with selenium driver it should behave like session it should behave like check Capybara::Session with selenium driver it should behave like session it should behave like check#check checking should check an unchecked checkbox
Failure/Error: @session.check('form_pets_cat')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:82:in `check'
# (eval):2:in `send'
# (eval):2:in `check'
# ./lib/capybara/spec/session/check_spec.rb:28
4) Capybara::Session with selenium driver it should behave like session it should behave like check Capybara::Session with selenium driver it should behave like session it should behave like check#check unchecking should uncheck a checked checkbox
Failure/Error: @session.uncheck('form_pets_dog')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:96:in `uncheck'
# (eval):2:in `send'
# (eval):2:in `uncheck'
# ./lib/capybara/spec/session/check_spec.rb:42
5) Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_checked_field? should be true after an unchecked checkbox is checked
Failure/Error: @session.check('form_pets_cat')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:82:in `check'
# (eval):2:in `send'
# (eval):2:in `check'
# ./lib/capybara/spec/session/has_field_spec.rb:98
6) Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_checked_field? should be false after a checked checkbox is unchecked
Failure/Error: @session.uncheck('form_pets_dog')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:96:in `uncheck'
# (eval):2:in `send'
# (eval):2:in `uncheck'
# ./lib/capybara/spec/session/has_field_spec.rb:103
7) Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_unchecked_field? should be false after an unchecked checkbox is checked
Failure/Error: @session.check('form_pets_cat')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:82:in `check'
# (eval):2:in `send'
# (eval):2:in `check'
# ./lib/capybara/spec/session/has_field_spec.rb:154
8) Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_unchecked_field? should be true after a checked checkbox is unchecked
Failure/Error: @session.uncheck('form_pets_dog')
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:96:in `uncheck'
# (eval):2:in `send'
# (eval):2:in `uncheck'
# ./lib/capybara/spec/session/has_field_spec.rb:159
9) Capybara::Session with selenium driver it should behave like session it should behave like uncheck#uncheck should uncheck a checkbox by id
Failure/Error: @session.uncheck("form_pets_hamster")
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:96:in `uncheck'
# (eval):2:in `send'
# (eval):2:in `uncheck'
# ./lib/capybara/spec/session/uncheck_spec.rb:8
10) Capybara::Session with selenium driver it should behave like session it should behave like uncheck#uncheck should uncheck a checkbox by label
Failure/Error: @session.uncheck("Hamster")
Element cannot be scrolled into view:[object HTMLInputElement]
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/driver.rb:65:in `resynchronize'
# ./lib/capybara/selenium/node.rb:79:in `resynchronize'
# ./lib/capybara/selenium/node.rb:49:in `click'
# ./lib/capybara/selenium/node.rb:24:in `set'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/base.rb:46:in `wait_until'
# ./lib/capybara/node/element.rb:75:in `set'
# ./lib/capybara/node/actions.rb:96:in `uncheck'
# (eval):2:in `send'
# (eval):2:in `uncheck'
# ./lib/capybara/spec/session/uncheck_spec.rb:15
1574/1574: 100% |==========================================| Time: 00:03:27
Pending:
Capybara::Server should wait specified time for the app to boot
# this test does not work: https://groups.google.com/d/msg/ruby-capybara/QrSKTbjh5rY/egvcVFYiWZMJ
# ./spec/server_spec.rb:75
Capybara::Server should raise an exception if boot timeout is exceeded
# this test does not work: https://groups.google.com/d/msg/ruby-capybara/QrSKTbjh5rY/egvcVFYiWZMJ
# ./spec/server_spec.rb:87
Capybara::Session with selenium driver it should behave like session with javascript support all JS specs#find should allow triggering of custom JS events
# cannot figure out how to do this with selenium
# ./lib/capybara/spec/session/javascript.rb:80
Capybara::Session with selenium driver it should behave like session with javascript support all JS specs#source should return the original, unmodified source of the page
# cannot figure out how to do this with selenium
# ./lib/capybara/spec/session/javascript.rb:97
Finished in 209.29 seconds
1574 examples, 10 failures, 4 pending
Failed examples:
rspec ./lib/capybara/spec/session/check_spec.rb:47 # Capybara::Session with selenium driver it should behave like session it should behave like check#check should check a checkbox by id
rspec ./lib/capybara/spec/session/check_spec.rb:53 # Capybara::Session with selenium driver it should behave like session it should behave like check#check should check a checkbox by label
rspec ./lib/capybara/spec/session/check_spec.rb:26 # Capybara::Session with selenium driver it should behave like session it should behave like check Capybara::Session with selenium driver it should behave like session it should behave like check#check checking should check an unchecked checkbox
rspec ./lib/capybara/spec/session/check_spec.rb:40 # Capybara::Session with selenium driver it should behave like session it should behave like check Capybara::Session with selenium driver it should behave like session it should behave like check#check unchecking should uncheck a checked checkbox
rspec ./lib/capybara/spec/session/has_field_spec.rb:97 # Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_checked_field? should be true after an unchecked checkbox is checked
rspec ./lib/capybara/spec/session/has_field_spec.rb:102 # Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_checked_field? should be false after a checked checkbox is unchecked
rspec ./lib/capybara/spec/session/has_field_spec.rb:153 # Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_unchecked_field? should be false after an unchecked checkbox is checked
rspec ./lib/capybara/spec/session/has_field_spec.rb:158 # Capybara::Session with selenium driver it should behave like session it should behave like has_field#has_unchecked_field? should be true after a checked checkbox is unchecked
rspec ./lib/capybara/spec/session/uncheck_spec.rb:7 # Capybara::Session with selenium driver it should behave like session it should behave like uncheck#uncheck should uncheck a checkbox by id
rspec ./lib/capybara/spec/session/uncheck_spec.rb:14 # Capybara::Session with selenium driver it should behave like session it should behave like uncheck#uncheck should uncheck a checkbox by label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment