It may be an issue with my configuration, but I wanted to know if
other people had the same issue. I need to
use different paths to S.open() based on environment the test is being
run in:
--
if (window.Envjs) { module("Login", { setup: function(){ S.open("//
login"); } }) } // envjs + selenium
else { module("Login", { setup: function(){ S.open("/
login"); } }) } // in the browser
--
Here I check that the test is being run in an envjs+selenium
environment and use the "//login", i.e. a relative path rooted at
jmvcRoot which is "
http://localhost/" so it's: "
http://localhost/
login".
Without the doubled forward slash the selenium firefox browser
"client" tries to open "file:///login".
Ideas?