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

Getting Detox can't seem to connect to the test app(s)! on Android #4049

Closed
2 tasks done
ghost opened this issue May 10, 2023 · 2 comments
Closed
2 tasks done

Getting Detox can't seem to connect to the test app(s)! on Android #4049

ghost opened this issue May 10, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented May 10, 2023

What happened?

Getting Detox can't seem to connect to the test app(s)! on Android

I'm encountering an issue with Detox, a testing framework for mobile apps, where it's unable to establish a connection with the test app(s) I'm trying to test. The execution hangs and I'm not sure how to resolve it.

I've followed the troubleshooting guide provided by the Detox team (link: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs), but I'm still unable to identify the root cause of the problem.

Here are some details of my setup:

I'm using Detox for testing a mobile app on both Android and iOS platforms. I've verified that the necessary configurations, such as device ID, are correct and up to date. I've confirmed that the devices are properly connected to my computer via USB, and USB debugging is enabled. I've checked for any relevant error messages or warnings, but nothing stands out.

Here are the dependency versions we used:

Node version : 14.21.2 React native version: 0.65.0 Detox Version: 20.8.0 Jest: 29.2.1 Java: 11.0.17

I'm not sure what else I can do to troubleshoot this issue. Are there any specific steps or considerations I might be missing? Has anyone else encountered a similar problem with Detox and found a solution?

Any help or suggestions would be greatly appreciated. Thank you!

What was the expected behaviour?

I should able to run the test in android

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.8.0
React Native version: 0.65.0
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 14.21.2
Device model: Samsung Galaxy A7
Android version: Android 13
Test-runner (select one): jest

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

@stale
Copy link

stale bot commented Jun 10, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

@stale stale bot added the 🏚 stale label Jun 10, 2023
@stale
Copy link

stale bot commented Jun 17, 2023

The issue has been closed for inactivity.

@stale stale bot closed this as completed Jun 17, 2023
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

0 participants