Detox Compatibility Issues with React Native 75.x
Noesersi opened this issue · 0 comments
Noesersi commented
What happened?
Detox is able to build the app, but it never manages to launch it in the emulator in Android Studio. It sends the error detox[5184] i ws-client:APP_UNREACHABLE Detox can't seem to connect to the test app(s)!
Can someone with recent versions of React Native launch the app? I'm using 'detox': '^20.27.3'
What was the expected behaviour?
No response
Was it tested on latest Detox?
- I have tested this issue on the latest Detox release and it still reproduces.
Did your test throw out a timeout?
- I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.27.3
React Native version: 0.75.4.
Has Fabric (React Native's new rendering system) enabled: No
Node version: 20.14.0
Device model: Android Emulator Medium Phone API 34
Android version: Android Emulator Medium Phone API 34
Test-runner (select one): jest
Detox logs
Detox logs
BUILD SUCCESSFUL in 16s
1590 actionable tasks: 17 executed, 1573 up-to-date
11:51:41.585 detox[11116] B jest --config e2e/jest.config.js
11:51:50.844 detox[6168] i starter.test.js is assigned to emulator-14932 (Medium_Phone_API_34)
11:53:50.853 detox[6168] i Example: should display welcome message
11:53:50.856 detox[6168] i Example: should display welcome message [FAIL]
11:53:50.864 detox[6168] i Example: should show the next screen after tapping a button
11:53:50.866 detox[6168] i Example: should show the next screen after tapping a button [FAIL]
11:53:50.884 detox[6168] i Detox can't seem to connect to the test app(s)!
HINT:
The test app might have crashed prematurely, or has had trouble setting up the connection.
Refer to our troubleshooting guide, for full details: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs
11:53:50.900 detox[6168] i An error occurred while waiting for the app to become ready. Waiting for disconnection...
error: Failed to run application on the device
Device logs
Device logs
paste your device.log here!
More data, please!
No response