You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing files in my index.html that are relative to a folder outside theindex.html one, the test seems to fail as it seems it is not importing those files.
I start getting messages like "X is not defined", "X is not a constructor" etc.
Expected Behavior
Using relative paths pointing to files outside the main folder should work.
Actual Behavior
Using relative paths pointing to files outside the main folder doesn't work.
Steps to Reproduce the Problem
<!DOCTYPE html><html><head><linkrel="stylesheet" href="./nada/qunit-1.18.0.css"><scripttype="text/javascript" src="../src/demo.js"></script></head><body><divid="qunit"></div><divid="qunit-fixture"></div><scriptsrc="./nada/qunit-2.5.1.js"></script><scripttype="text/javascript">QUnit.test("isEven returns true for even numbers",function(assert){assert.ok(isEven(10),"10 is even");});</script></body></html>
Showing the following error:
isEven is not defined
Which won't show when changing the demo.js file path from ../src/ to ./ or any subfolder within the same folder.
Hey @alvarotrigo
I am facing an issue while setup the browserstack-runner rep. locally
After writing the browserstack-runner an error occurs which says "browserstack.json is missing"
When importing files in my
index.html
that are relative to a folder outside theindex.html
one, the test seems to fail as it seems it is not importing those files.I start getting messages like "X is not defined", "X is not a constructor" etc.
Expected Behavior
Using relative paths pointing to files outside the main folder should work.
Actual Behavior
Using relative paths pointing to files outside the main folder doesn't work.
Steps to Reproduce the Problem
Showing the following error:
Which won't show when changing the demo.js file path from
../src/
to./
or any subfolder within the same folder.browserstack.json
Platform details
Details
The text was updated successfully, but these errors were encountered: