Closed BRIMIL01 closed 8 years ago
This was tested with phantomjs 1.8.2
If poltergeist is upgraded to 1.6.0 it will throw the following error:
/Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/browser.rb:60:in find': undefined method
map' for nil:NilClass (NoMethodError)
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/driver.rb:120:in find' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/poltergeist-1.6.0/lib/capybara/poltergeist/driver.rb:128:in
find_css'
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/node/base.rb:102:in find_css' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/query.rb:108:in
block in resolve_for'
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/node/base.rb:80:in synchronize' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/query.rb:106:in
resolve_for'
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/node/finders.rb:32:in block in find' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in
synchronize'
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in find' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/capybara-2.4.4/lib/capybara/session.rb:676:in
block (2 levels) in class:Session'
from /Users/brian.miller/dev/snapdragon/lib/snapdragon/cli_application.rb:34:in run' from /Users/brian.miller/dev/snapdragon/bin/snapdragon:11:in
<top (required)>'
from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/bin/snapdragon:23:in load' from /Users/brian.miller/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/bin/snapdragon:23:in
FWIW the debug mode works great :-)
@BRIMIL01 so I was able to test it this time and things look good except for one thing. The snapdragon_server
command doesn't seem to respect debug mode even though it has the command line option in its help message. At least I don't see any difference when I test it. What should the difference be. I checked console log messages, etc. but nothing.
No activity has happened on this since the last comment, so I am closing this pr. It can be reopened if discussion is picked back up.
I did this to allow for easier debugging of issues with phantom running jasmine tests.
Replaces PR #38