-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
visit method not working with external url #20
Comments
Can you push a repo I can try? Do you get any envjs error when you do this? Google has enough messy JS on their page that it breaks envjs. At one point I tried to track down the cause, but it's all minifed stuff which which is just painful to deal with. |
I made simple changes to http://github.com/schlick/capybara-demo to test visit method on external link using envjs. Changes i made are already posted on issue. Error/failure message: There is envjs warning message also: I think it is still assuming that link as local rails app link and trying to load jquery and application |
Cool. This is should be able to make some sense of. As long as it's not tortured JS ... |
Is this still an issue? If so, can you tell me how to replicate it? I did the normal rake test and cucumber tasks and they succeed. |
Simple test using visit method seems to fail while using envjs driver. Works fine with default driver.
When I google
Then I should see "2010 Google"
When /^I google$/ do
visit "http://www.google.com" \n
end
Running feature fails with "false is not true. (Test::Unit::AssertionFailedError)" message.
Also when using full url (eg. http://www.google.com/webhp), it errors out with "No route matches "/webhp" with {:method=>:get} (ActionController::RoutingError)" message
The text was updated successfully, but these errors were encountered: