-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Detox fails to run tests with jest(with both new and old implementations) #363
Comments
you need to set configuration -c ios.sim.debug check this #355 |
@sibelius Thanks! But still no luck. After this output it just lists all available devices and then just hangs on the first test loading without actually booting the device
|
-a e2e |
@sibelius Nope, same thing. I'm confused about the stdout cause it shows that the simulator is being booted/app launched but the simulator actually doesn't run:
|
It also seems like the test is running and is trying to locate the elements when the simulator is down..
|
I'm having similar issues as well. FWIW, here's what I'm using:
|
Interestingly, if I run |
@khirakawa @aamorozov If you load up the simulator before hand through xcode or |
@SMJ93 For me it runs the simulator, builds the package, but once it tries to run the tests it crashes the app right away(without showing the launch screen) and then the process just hangs on the first test case. That actually happens even after I downgraded detox back to 5.6.2 |
@aamorozov We experienced something similar with React Native Firebase on iOS using Mocha. Updating my pods, React Native and detox solved it for me, but it looks like you're fully up to date. I am taking a look at the Jest test runner as we speak. It is causing us issues with Android #362, i'll keep you updated. |
@aamorozov I get the same issue when running ios e2e tests with jest on the example project. |
Hello, We are moving support questions to Stack Overflow. Please ask a question there with the Thanks |
Sure. |
Fixed in #423 |
Cheers @rotemmiz. When is the next planned release? |
Description
Was trying different ways but can't get it to work. Wondering if it's an issue on my side(most likely) or there is some incompatibility with newer versions.
It might be related to this issue #330 as I recently installed new Xcode 9.
e2e.setup.js
jest.config-e2e.json
package.json
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
When running jest directly with
detox build && jest --verbose --runInBand --forceExit -c ./jest.config-e2e.json
, it hangs on "Searching for device".After making the updates specified in https://github.com/wix/detox/blob/master/docs/Guide.Jest.md. Running
detox build && detox test
:The text was updated successfully, but these errors were encountered: