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 test fail on app launch on Android emulator #4269

Open
2 tasks done
urbanclap-admin opened this issue Nov 3, 2023 · 2 comments
Open
2 tasks done

detox test fail on app launch on Android emulator #4269

urbanclap-admin opened this issue Nov 3, 2023 · 2 comments

Comments

@urbanclap-admin
Copy link

urbanclap-admin commented Nov 3, 2023

What happened?

sometimes tests do not run due to the following error and have to restart the emulator to get it to work, this is random.

15:41:46.322 detox[12520] B ws-server connection :53463<->:53613
15:41:46.328 detox[12520] i ws-server Caught unhandled error:
  error: Action dispatched too early, there is no session to use:

  HINT: Please report this issue on our GitHub tracker:
  https://github.com/wix/Detox/issues

  {
    messageId: -10000,
    type: 'AppWillTerminateWithError'

What was the expected behaviour?

it should run the tests

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!

 await device.launchApp({
        launchArgs: { detoxEnableSynchronization: 0 },
        newInstance: true,
      });

In what environment did this happen?

Detox version: 20.13.5
React Native version: 0.67
Has Fabric (React Native's new rendering system) enabled: No
Node version: 21.1.0
Device model: Pixel 4 emulator
Android version: 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

Copy link

stale bot commented Dec 15, 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 Dec 15, 2023
@usamaabutt
Copy link

+1 #4195 (comment)

@stale stale bot removed the 🏚 stale label Jan 1, 2025
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

2 participants