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 support for RN 0.67.5 - launchApp() fails because of app_status: busy #4012

Closed
bsrinivasan93 opened this issue Apr 13, 2023 · 2 comments

Comments

@bsrinivasan93
Copy link

Description

I've been trying to build & run Detox tests for a React Native app with version 0.67.5. I saw that Detox doc says Detox works only with RN >= 0.68.x. There are plans to upgrade the RN version in app, but it might be a while.

On both iOS simulator & Android emulator, I am able to do detox build but detox test --configuration <config> --record-logs failing --loglevel trace --take-screenshots failing is always failing because the app_status is busy. I've attached detox & device logs for both platforms. Is there a way to run Detox on RN 0.67.5 apps(perhaps use older version of Detox, node, etc?) Would appreciate any help/direction here.

Workarounds tried: increase testRunner.setupTimeout=180000 in .detoxrc.js, setting detoxEnableSynchronization: 0 in device.launchApp()

ios.sim.debug.2023-04-12 17-04-56Z.zip
android.emu.debug.2023-04-13 17-49-43Z.zip

Your environment

Detox version: 20.6.0
React Native version: 0.67.5
Node version: v16.13.2
Device model: iPhone 11/Pixel 6
OS: iOS 13.7/API Level 33
Test-runner (select one): jest

@stale
Copy link

stale bot commented May 19, 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 May 19, 2023
@stale
Copy link

stale bot commented Jun 11, 2023

The issue has been closed for inactivity.

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

1 participant