-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
detox test fail on android #799
Comments
Not enough info here, but try Emulator with API 27, does it work ? |
After upgrading to Detox 8.0 I am also seeing my tests on Android timeout. I don't have the best understanding of the entire Android connection process, but it looks like the first command is sent before the "isReady" command is received. Unfortunately I cannot provide a sample RN app since I am working with a client under NDA. As you can see, the command that says look for element with text 'Log in' is executed after receiving the Here are some sanitized sample logs: Detox 7.3.7
Detox 8.0.0
|
Well, now that you can easily create logcat logs with artifacts manager, please provide them |
I cannot generate the new artifacts. When I try to use the
Since we are using Jest I used your example file from the Docs here I'm not sure where the EDIT: My settings are a little different than @Papeone -- I am using RN 0.55.4, Node 9.2.0 and Nexus_5X_API_27 Emulator |
Does 0.55 works for you with Detox 7 ?? |
Yes, I have Android running on 7.3.7 now on another branch. I attached one test run, let me know if this is helpful. The app builds and launches to the home screen, but the first action never takes place and it timeouts. |
I change detox version to 'v7.4.3',It can run normally,Thanks @lalka-workco @rotemmiz |
@lalka-workco , @Papeone , I was thinking about it lately... Do you have |
@noomorph Yes. It is in my init.js. I do not use the default because I need to set permissions for things like location and notifications. // init.js
|
@lalka-workco , thanks much! I was fixing the other things around when a sudden realization struck me. It is indeed a bug in artifacts manager, and I already know where the problem is, and hopefully I'll get a fix for it released this week. Let's be in touch about this. Sorry for the inconveniences. 😊 UPD: created a dedicated issue to it: #856 |
This issue thread is a duplicate of already existing issues, hereby I close it. @Papeone had an issue described in: #831 (resolved in the unreleased yet |
This thread has been automatically locked to prevent bumping of old threads. Instead, if you believe the issue still reproduces, please open a new issue and provide all the required information. |
Description
detox test fail on android
Steps to Reproduce
1 detox build -c android.emu.debug
2 detox test -c android.emu.debug
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
test.txt
The text was updated successfully, but these errors were encountered: