Open guyca opened 6 years ago
We'll add a new API, device.rotateDevice()
, for Android only, to rotate the device itself, outside of the process.
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 reporsitory, read this discussion.
The issue has been closed for inactivity.
The following code sets orientation on the activity, idealy it would roatate the device.
We're using detox in react-native-navigation v2 and would like to test orientation related use cases. in RNN we handle the activity's orientation using the same android api,
setRequestedOrientation
and detox interferes with our api.This can be reproduced by running our e2e suite
yarn run test-e2e-android-detox