-
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
React Native demo project fails in debug mode #158
Comments
What do you see if you use this flag when running the test? https://github.com/wix/detox/blob/master/docs/Troubleshooting.RunningTests.md#enable-deugging-of-synchronization-issues |
Another strange behaviour is that the app goes to background when (at the same time or after) this command is executed:
|
Looks like the app is crashing, we need to see its crash stack trace. |
Today I checked the demo on another PC and got the same problem. It seems like you can reproduce it. And it is only with Log:
Git:
Last commit commit 192e9b4. Sun Jun 11 16:54:11 2017 +0300. |
+1 |
@rotemmiz Did the log help? And can you reproduce the bug?
Doesn't looks like the app issue, it works fine with release build, I can start debug mode of the app and in my private project after
I've got the same issue. |
got the same issue :'( |
We've updated Detox a few times since the bug was initially reported. Our tests could not reproduce this bug (which happens when we try to sync on animations of the Animated native driver). Please try running again with Detox@5.2.0 and up, and report back of it persists (please make sure you provide simulator system.log output if the app crashes) |
@rotemmiz Could you please release a new minor version with the debug print? I think it will help with this issue. |
I'm also experiencing this issue, 0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
child_process.js:524
throw err;
^
Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration ios.sim.debug --debug-synchronization 500
at checkExecSyncError (child_process.js:481:13)
at Object.execSync (child_process.js:521:13)
at Object.<anonymous> (/Users/adamelemental/dev/Phona/sayit/node_modules/detox/local-cli/detox-test.js:46:4)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:427:7) I get some strange errors at the end of the Simulator logs:
|
Looking at my logs, can't find any crashes or anything to give clues as to why Detox can't attach. |
Same here, it seems to be an issue with Animations I am using detox@5.6.1 and react-native@0.42.3 |
This issue seems to have split into a few separate issues. I am closing this issue, If anyone has any issue which is unrelated to demo-react-native, please open a new one. |
Steps:
cd examples/demo-react-native
npm install
detox build --configuration ios.sim.debug
detox test --configuration ios.sim.debug
Branch
master
, latestcommit 6cdbc7f2aa8b2d858edd608b03afe8ce125ce19f
.Expected result:
Actual result in Debug mode:
Release mode is OK
The text was updated successfully, but these errors were encountered: