-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
js helpers not loading from the correct location #15
Comments
Okay yah, But that may be the minority scenario, and if so I'd gladly change this to be relative to Alternatively, this is all part of |
Actually, root-relative is where I started, and that would be: Again, it only works when I pull |
Okay this is fixed in
You'll need to change the paths in your They are now preprocessed in the same way as your spec files, which means they naturally support Previously this didn't work because but it wasn't pre-processing the file. Therefore it was sending raw Prepending the I've changed the url strategy to prevent that now. I also realized I'm not currently supporting globbing in the |
👍 super thanks On Wednesday, April 8, 2015, Brian Mann [email protected] wrote:
|
I have this directory structure:
...and this is my cypress.json:
That
javascripts
line makes it hit this URL:http://localhost:3000/support/spec_helper.coffee
...which 404s. I think it is supposed to be hitting this one:
http://localhost:3000/tests/support/spec_helper.coffee
(if I change the line to
"javascripts": ["tests/support/spec_helper.coffee"]
then it works, but obviously that's not what I should be doing)Looks like a find/replace error where you removed
tests
from one place you shouldn't have, maybe? Or didn't finish changing away fromtests
to the json-injected location.Thanks! ✨
The text was updated successfully, but these errors were encountered: