Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Unable to load URL: http://127.0.0.1:52520/users/sign_in #390

Closed
anthonycintron opened this Issue · 2 comments

3 participants

@anthonycintron

I made an attempt to install capybara-webkit and its dependencies. Looking to try this over selenium, but having some trouble with making a "browser" connection. Please see my output below:


cucumber -r features features/employer_dashboard/employer_dashboard.feature

Using the default profile...

@javascript
Scenario: Display initial list of available interviews # features/employer_dashboard/employer_dashboard.feature:18

Visit
1
36
http://127.0.0.1:52520/users/sign_in
else
{"SERVER_SOFTWARE"=>"thin 1.4.1 codename Chromeo", "SERVER_NAME"=>"127.0.0.1", "rack.input"=>#StringIO:0x007f8a220d1688, "rack.version"=>[1, 0], "rack.errors"=>#IO:<STDERR>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "REQUEST_PATH"=>"/users/sign_in", "PATH_INFO"=>"/users/sign_in", "REQUEST_URI"=>"/users/sign_in", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; PPC Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) capybara-webkit Safari/534.34", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8", "HTTP_CONNECTION"=>"Keep-Alive", "HTTP_ACCEPT_ENCODING"=>"gzip", "HTTP_ACCEPT_LANGUAGE"=>"en-US,*", "HTTP_HOST"=>"127.0.0.1:52520", "GATEWAY_INTERFACE"=>"CGI/1.2", "SERVER_PORT"=>"52520", "QUERY_STRING"=>"", "SERVER_PROTOCOL"=>"HTTP/1.1", "rack.url_scheme"=>"http", "SCRIPT_NAME"=>"", "REMOTE_ADDR"=>"127.0.0.1", "async.callback"=>#, "async.close"=>#EventMachine::DefaultDeferrable:0x007f8a220d0990, "action_dispatch.parameter_filter"=>[:password, :password_confirmation], "action_dispatch.secret_token"=>"e3d48a43358c6881f63c20a0d341af12e385228ee09589614900d39e6e199412788e09c73f11ecadd2dbc7a3345cc28c8444caf819063bcc079017efb91c35cd", "action_dispatch.show_exceptions"=>true}
<< failure
<< 56
<< Unable to load URL: http://127.0.0.1:52520/users/sign_in
Given I am on login page # features/step_definitions/custom_web_steps.rb:12
Unable to load URL: http://127.0.0.1:52520/users/sign_in (Capybara::Driver::Webkit::WebkitInvalidResponseError)
./features/step_definitions/custom_web_steps.rb:13:in /^(?:|I )am on (.+)$/'
features/employer_dashboard/employer_dashboard.feature:19:in
Given I am on login page'
Then I fill in "email" with "acintron@taketheinterview.com" within "#new_user_session" # features/step_definitions/custom_web_steps.rb:37
And I fill in "password" with "password" within "#new_user_session" # features/step_definitions/custom_web_steps.rb:37
When I press "Login" within "#new_user_session" # features/step_definitions/custom_web_steps.rb:25
Then I am on Employer's Dashboard page # features/step_definitions/custom_web_steps.rb:12
Reset
0
<< failure
<< 56
<< Unable to load URL: http://127.0.0.1:52520/users/sign_in
Unable to load URL: http://127.0.0.1:52520/users/sign_in (Capybara::Driver::Webkit::WebkitInvalidResponseError)
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-webkit-0.12.1/lib/capybara/driver/webkit/browser.rb:138:in check'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-webkit-0.12.1/lib/capybara/driver/webkit/browser.rb:87:in
command'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-webkit-0.12.1/lib/capybara/driver/webkit/browser.rb:22:in reset!'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-webkit-0.12.1/lib/capybara/driver/webkit.rb:108:in
reset!'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-1.1.2/lib/capybara/session.rb:70:in reset!'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-1.1.2/lib/capybara/dsl.rb:87:in
block in reset_sessions!'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-1.1.2/lib/capybara/dsl.rb:87:in each'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-1.1.2/lib/capybara/dsl.rb:87:in
reset_sessions!'
/Users/anthonycintron/.rvm/gems/ruby-1.9.2-p320/gems/capybara-1.1.2/lib/capybara/cucumber.rb:10:in `After'

Failing Scenarios:
cucumber features/employer_dashboard/employer_dashboard.feature:18 # Scenario: Display initial list of available interviews

1 scenario (1 failed)
12 steps (1 failed, 4 skipped, 7 passed)
1m3.568s

@mhoran
Collaborator

@anthonycintron, are you still having issues with the latest capybara-webkit?

@mikegee

I recommend closing this issue due to staleness.

@mhoran mhoran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.