-
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 Android incompatible with RN >= 50 #608
Comments
Detox Android idling resources are not compatible with changes made in RN 50, we are working on finding a solution for that. In the meantime, Detox Android does not support RN >=50 ! |
Just to confirm.
So currently we cannot use RNN and Detox for Android? |
Hey @guyca @rotemmiz I do have some questions regarding whats mentioned here on this issue:
|
I went over 0.49-stable - 0.50-stable diff, and found a few possible culprits. Implement lazy discovery for ViewManagers.
|
FYI, I can work on this full time from Tuesday. |
I seem to be experiencing 2 separate issues on my app using RN 0.54.2 (and react-native-navigation 1.1.0), where neither are the issue from the OP (I can make this a different ticket if that's more helpful):
If those two issues are avoided, the tests run and pass without a hitch (and the iOS side of things works perfectly). Edit: In the first failure case, I see |
@ericketts Thanks for your comment. I also suspect we accumulated more than one issue. |
Hi @simonracz, any updates or ETA on this one? |
#652 Fixes the sync issues in the test project for RN50 and RN51. It will be released ASAP after review+merge. |
@rotemmiz great news, thanks a lot! |
I am using these dependencies: I am experiencing same kind of stuff that Detox just hangs on real Android device. And in the end Jest just timeouts. Can you guys see from the logs what is the problem? Is the problem React Native 0.52.2?
|
Hey folks! Having great fun trying to get Detox to work with latest react-native on Android. (Caveat: I am NOT an Android dev, so new to the whole Gradle build eco-system) My use case is very limited, so hoping that subtle bugs won't stop me from using detox. However, currently can't even get things to compile after following a combination of the instructions below to add detox. https://github.com/wix/detox/blob/master/docs/Introduction.Android.md React Native: 0.55.2 What is the current status of things? Is there a chance of getting this running with latest react-native? Other example projects I should look at? If anyone actually cares to dig into this, my WIP spike code is here: Most recent commit messages explain more... |
Hey folks! Having a little difficultly configuring this myself: React Native: 0.54.2 Has there been any progress with this compatibility? Any helpful workarounds? |
@simonracz Any update on the state of this PR? |
What's the status of android e2e tests? I can see that you've disabled them for wix/detox on your travis config. Is it possible to run android e2e tests on travisCI at all now? |
This comment states that it works now. There is an inherit issue in RN itself which won't let us sync with reloading in a full proof way. That's the reason the issue was not closed yet. To avoid confusion I am now closing this issue since we already support RN50-51 on Android in Detox 7.3.3. Disabled tests on TravisCI has nothing to do with this issue. Since Travis can't run x86 emulators, Detox suite still can't run on them. We are in the process of moving to our own CI solution, then we will enable the test suite. In the meantime, every release/Android contribution requires manual run of the test suite. |
But React Native is already at 0.55 version and Detox doesn't support Rn 0.52 and up? 😢 |
@simonracz detox 7.3.4 is supporting RN 0.55.3 can you please update the status? |
The documentation links to this ticket, and this ticket is closed but the issue is not fixed for RN >=52. Can we get a new ticket or re-open this one? The documentation indicated it doesn't work with RN>=50 so that might need to be updated as well. |
The ChangeLog https://github.com/wix/detox/blob/master/CHANGELOG.md#734-2018-04-25 claims to have fixed this (#608) as of Wix Detox version 7.3.4 in April 2018. |
Having this problem as well, tried a bunch of different RN and Detox versions. I can't get RN 0.55.3, 0.51.0 or 0.50.3 working with either Detox 7.3.4 or 7.4.0.
Really want this to work as Detox looks like a great library and RN testing options are very lacking. Hopefully the community interest means this issue gets prioritised, thanks for all your work. |
Hi @SicutDominus , Based on the gradle error message, I think you are still on old gradle version in your RN project. Detox 7.0> supports only gradle 3.0. Hope this helps. |
Status as of June 2018:
References: |
The issue is closed and fixed, and the official doc re supported versions is here: https://github.com/wix/detox/blob/master/README.md#supported-react-native-versions |
Detox idling resources are not compatible with changes made in RN 50:
Encountered this while testing uses cases in RNN involving reload (By pressing R R)
The text was updated successfully, but these errors were encountered: