Skip to content
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 Compatibility Issues with React Native 75.x #4605

Closed
2 tasks done
Noesersi opened this issue Oct 11, 2024 · 0 comments
Closed
2 tasks done

Detox Compatibility Issues with React Native 75.x #4605

Noesersi opened this issue Oct 11, 2024 · 0 comments

Comments

@Noesersi
Copy link

Noesersi commented Oct 11, 2024

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?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant