Open abaird opened 12 years ago
Of course, doing an update gets you Watir 2.0.4 which gives you this error when you run with it:
NoMethodError: undefined method nextsibling' for #<Watir::Image:0x3522db0> C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/watir-2.0.4/lib/watir/element.rb:447:in
method_missing'
C:/Users/Alan/RubymineProjects/watirmark-example/lib/salesforce/site/search.rb:89:in look_in_recent_items' C:/Users/Alan/RubymineProjects/watirmark-example/lib/salesforce/site/search.rb:21:in
search'
C:/Users/Alan/RubymineProjects/watirmark-example/lib/salesforce/components/lead/lead_view.rb:38:in exists?' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/watirmark-1.2.6/lib/watirmark/webpage/webpage.rb:163:in
call_view_method'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/watirmark-1.2.6/lib/watirmark/webpage/webpage.rb:107:in get' C:/Users/Alan/RubymineProjects/watirmark-example/lib/salesforce/spec/test_lead_spec.rb:18:in
block (2 levels) in <top (required)>'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:80:in instance_eval' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:80:in
block in run'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:173:in with_around_hooks' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example.rb:77:in
run'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:355:in block in run_examples' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:351:in
map'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:351:in run_examples' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb:337:in
run'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in block (2 levels) in run' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in
map'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:28:in block in run' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb:34:in
report'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb:25:in run' C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:69:in
run'
C:/Ruby193p125/lib/ruby/gems/1.9.1/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb:10:in `block in autorun'
Yea i saw the same error running on that version of watir. 2.0.4.1 seems to fix it and is publicly accessible here and on our gemserver (which is now publicly accessible).
I will remove the lock.
thx
Eric - the lockfile is checked in at 2.0.4.1 which is probably not available in other ppl's repos. 'bundle update' fixes this but I don't know if there is anything in 2.0.4.1 that we are depending on?