Created
April 20, 2014 14:49
-
-
Save mtsmfm/11115928 to your computer and use it in GitHub Desktop.
poltergeist with ckeditor debug log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name"=>"set_debug", "args"=>[true]} | |
{"response"=>true} | |
{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005093288] state default -> loading | |
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. | |
poltergeist [1398005093702] state loading -> default | |
{"response"=>{"status"=>"success"}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>1, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[1, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[1, 0]} | |
poltergeist [1398005093735] state default -> mouse_event | |
poltergeist [1398005093991] state mouse_event -> loading | |
poltergeist [1398005093991] state loading -> default | |
512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>1, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[1, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>1, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005094096] state default -> loading | |
poltergeist [1398005094177] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>3, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[3, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[3, 0]} | |
poltergeist [1398005094199] state default -> mouse_event | |
poltergeist [1398005094286] state mouse_event -> loading | |
poltergeist [1398005094286] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>{"page_id"=>3, "ids"=>[1]}} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>true} | |
An error occurred in an after hook | |
NoMethodError: undefined method `[]' for true:TrueClass | |
occurred at /home/mtsmfm/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/poltergeist-1.5.0/lib/capybara/poltergeist/browser.rb:54:in `find' | |
F{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
{"response"=>{"page_id"=>3, "ids"=>[]}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
poltergeist [1398005124349] state default -> loading | |
poltergeist [1398005124502] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>{"page_id"=>5, "ids"=>[0]}} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>true} | |
An error occurred in an after hook | |
NoMethodError: undefined method `[]' for true:TrueClass | |
occurred at /home/mtsmfm/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/poltergeist-1.5.0/lib/capybara/poltergeist/browser.rb:54:in `find' | |
F{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
{"response"=>{"page_id"=>5, "ids"=>[]}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
poltergeist [1398005124616] state default -> loading | |
poltergeist [1398005124617] state loading -> default | |
{"response"=>{"page_id"=>6, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[6, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[6, 0]} | |
poltergeist [1398005124629] state default -> mouse_event | |
poltergeist [1398005124636] state mouse_event -> default | |
{"response"=>{"x"=>512, "y"=>384}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>6, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[6, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>6, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005124703] state default -> loading | |
poltergeist [1398005124961] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>384}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>8, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[8, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[8, 0]} | |
poltergeist [1398005125058] state default -> mouse_event | |
poltergeist [1398005125363] state mouse_event -> loading | |
poltergeist [1398005125364] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>8, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[8, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>8, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005125547] state default -> loading | |
poltergeist [1398005125688] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>10, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[10, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[10, 0]} | |
poltergeist [1398005125727] state default -> mouse_event | |
poltergeist [1398005125867] state mouse_event -> loading | |
poltergeist [1398005125867] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>10, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[10, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>10, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005125952] state default -> loading | |
poltergeist [1398005126151] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>12, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[12, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[12, 0]} | |
poltergeist [1398005126241] state default -> mouse_event | |
poltergeist [1398005126441] state mouse_event -> loading | |
poltergeist [1398005126441] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>12, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[12, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>12, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005126516] state default -> loading | |
poltergeist [1398005126611] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>14, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[14, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[14, 0]} | |
poltergeist [1398005126643] state default -> mouse_event | |
poltergeist [1398005126826] state mouse_event -> loading | |
poltergeist [1398005126837] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>14, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[14, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>14, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005127060] state default -> loading | |
poltergeist [1398005127140] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>16, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[16, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[16, 0]} | |
poltergeist [1398005127233] state default -> mouse_event | |
poltergeist [1398005127619] state mouse_event -> loading | |
poltergeist [1398005127620] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>16, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[16, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>16, "ids"=>[]}} | |
.{"name"=>"visit", "args"=>["http://127.0.0.1:37796/users/new"]} | |
poltergeist [1398005128018] state default -> loading | |
poltergeist [1398005128227] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>18, "ids"=>[0]}} | |
{"name"=>"visible", "args"=>[18, 0]} | |
{"response"=>true} | |
{"name"=>"click", "args"=>[18, 0]} | |
poltergeist [1398005128274] state default -> mouse_event | |
poltergeist [1398005128387] state mouse_event -> loading | |
poltergeist [1398005128388] state loading -> default | |
{"response"=>{"status"=>"success", "position"=>{"x"=>512, "y"=>235.5}}} | |
{"name"=>"find", "args"=>[:css, "body"]} | |
{"response"=>{"page_id"=>18, "ids"=>[1]}} | |
{"name"=>"visible", "args"=>[18, 1]} | |
{"response"=>true} | |
{"name"=>"reset", "args"=>[]} | |
{"response"=>true} | |
{"name"=>"find", "args"=>[:xpath, "/html/body/*"]} | |
{"response"=>{"page_id"=>18, "ids"=>[]}} | |
. | |
Failures: | |
1) users test | |
Failure/Error: find('body') | |
Capybara::Poltergeist::TimeoutError: | |
Timed out waiting for response to {"name":"find","args":["css","body"]}. It's possible that this happened because something took a very long time (for example a page load was slow). If so, setting the Poltergeist :timeout option to a higher value will help (see the docs for details). If increasing the timeout does not help, this is probably a bug in Poltergeist - please report it to the issue tracker. | |
# ./spec/features/users_spec.rb:9:in `block (3 levels) in <top (required)>' | |
2) users test | |
Failure/Error: find('body').click | |
NoMethodError: | |
undefined method `map' for nil:NilClass | |
# ./spec/features/users_spec.rb:8:in `block (3 levels) in <top (required)>' | |
Finished in 35.59 seconds | |
10 examples, 2 failures | |
Failed examples: | |
rspec ./spec/features/users_spec.rb:5 # users test | |
rspec ./spec/features/users_spec.rb:5 # users test | |
Randomized with seed 47229 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment