-
Notifications
You must be signed in to change notification settings - Fork 220
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
How can I debug this? #132
Comments
@cellog given this |
As a test, i'd grab This would at least rule out the path problem possibility |
Outside of that, i'll have to dig into the example code / repo you linked and see if I can figure out why it's tanking on a remote run but to me this screams relative path / execution context issue ( had more than a few of these recently ) |
The tests work if I run a single browser, without code coverage, so it via CloudMagic Email |
My point wasn't so much a code problem and more related to the context in which SauceLabs is running things in. I've had my own issues related to SauceLabs and execution context as well as the inability to reliably debug tasks which are fired off in isolation. |
I see. thanks. Since I'm using browserstack, I suppose you could close this, and if you want to investigate saucelabs, open a new issue? |
Will do though my work around was the same as yours. I just simply went over to Browserstack and avoided all the goofy contextual issues in Sauce. |
I am running this test:
in a checkout of https://github/cellog/react-selection/tests
with these karma configs (first is karma.common.conf.js):
here is the webpack config (tests/test.config.es6.js):
and this one as the primary (karma.ie.conf.js):
onlyie.js is:
and using this script to run the tests after starting sc 4.3.16:
Now here's the kicker: If I remove the "import Selection from '../src/Selection.jsx'" line, the test works. If I leave it in, Edge 13 on Windows 10 hangs indefinitely. I don't see any errors when I take control and check developer tools, but it doesn't send anything back. How the hell can I debug this problem? The test works just fine with a local karma on Chrome and Safari.
What I'm running into is that every test hangs indefinitely in every browser when running them through TravisCI, and this is the smallest test I can make to reproduce the issue. Note that I'm not even using the Selection code, just including it into the file.
The text was updated successfully, but these errors were encountered: