You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When i try to use it on a physical device, it boot the app but never automate a test.
This using the examples files.
To Reproduce
Download base project
detox build the base react-native project or react-native-jest projet
detox test
the issue happen on both react-native or react-native-jest demo project on the examples folder
Expected behavior
It should automate tests
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Detox: 10.0.12
React Native: 0.51.1
Device: Moto e 2
OS: Linux Ubuntu
Device and Verbose Detox Logs
"before all" hook
0 passing (2m)
1 failing
"before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
0 passing (2m)
1 failing
"before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
The text was updated successfully, but these errors were encountered:
Hello @jramalho ,
For me to be able to test on physical Android devices, I have to change some adb settings first.
With only one device connected through USB, I usually do the following:
adb -d reverse tcp:8099 tcp:8099
detox run-server
detox test -c yourConfigHere
In your configuration file, instead of giving detox the emulator name, give it its adb serial number, obtained by running adb -d devices. You would also need to specify, again in the config file, that you would like to use the server you manually started, as shown here.
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.
Describe the bug
When i try to use it on a physical device, it boot the app but never automate a test.
This using the examples files.
To Reproduce
the issue happen on both react-native or react-native-jest demo project on the examples folder
Expected behavior
It should automate tests
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Device and Verbose Detox Logs
0 passing (2m)
1 failing
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
0 passing (2m)
1 failing
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
The text was updated successfully, but these errors were encountered: