-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
App is not opening while running test case in detox after react native 0.68 upgrade #4002
Comments
Hey @CHANDRU-WMH, thanks for the report. Can you please provide us the device logs and the detox logs from the failing run? Otherwise, it will be very hard to investigate this issue. |
@asafkorem Thanks for the reply, attached the logs. |
@CHANDRU-WMH Based on the logs, it seems that the crash is caused by a
Please make sure you installed react-native-community/art correctly. |
I don't think that this error is caused by Detox in any way. Is it working when running the app regularly? This might be related to some change on React Native 0.68. If it happens locally, try to clean and rebuild your project. |
Yea test cases work in android when I downgrade the native version to 0.67, facing this error only on rn 0.68. |
I am facing same issue on react-native 0.71.4 Working on iOS but not launching on android |
@lmasneri I upgraded the flipper version in gradle.properties to FLIPPER_VERSION=0.171.1 and the app is launching now. |
@CHANDRU-WMH I still can not launch the application using detox:
The e2e/hooks.ts:7 is |
Working with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
The issue has been closed for inactivity. |
What happened?
Detox builds and test case runs successfully in ios but in android it is not working getting the below error. While downgrading to react native 0.67 test cases are working in android.
What was the expected behaviour?
No response
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version:
React Native version:
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Device model:
Android version:
Test-runner (select one): jest / other
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: