Now I've been looking at my logcat and as far as I've understood it's having trouble connecting to the WebSocket, but I don't know what to do with this.
The app opens but just stays like that and after a while it gives the error below:
caused by: Error: function timed out, ensure the promise resolves within 120000 milliseconds
at Timeout._time.default.setTimeout [as _onTimeout] (/Users/me/Desktop/example/node_modules/cucumber/lib/user_code_runner.js:76:18)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
To Reproduce
[x] I have tested this issue on the latest Detox release and it still reproduces
Describe the bug
My detox works on iOS, but when I try to use it on Android the
init.js
file hangs on Android release mode.or
Now I've been looking at my logcat and as far as I've understood it's having trouble connecting to the WebSocket, but I don't know what to do with this. The app opens but just stays like that and after a while it gives the error below:
To Reproduce
Steps to reproduce:
detox build --configuration android.emu.release
node_modules/.bin/cucumber-js ./e2e --require-module @babel/register --configuration android.emu.release --format node_modules/cucumber-pretty
Expected behavior
Screenshots
Device and Verbose Detox Logs
Environment (please complete the following information):