Device screenshots are not captured on android emulators in pipeline runners
What happened?
In MacOS pipeline runners detox device screenshots come out blank/transparent when running on Android emulator.
What was the expected behaviour?
Expected to see android device screen captured in the screenshots when run in the pipeline
Was it tested on latest Detox?
- [X] I have tested this issue on the latest Detox release and it still reproduces.
Did your test throw out a timeout?
- [ ] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
Help us reproduce this issue!
Below is a link to a public repository with GitHub Actions runner set up https://github.com/DaveM80/rn-detox-poc
In what environment did this happen?
Detox version: 19.9.1 React Native version: 0.69.4 Node version: 14.x Device model: Pixel Android version: 28, 30 Test-runner (select one): jest-circus
Detox logs
Logs appeared to exceed allowed character size, please find attached detox_pid_24998.log
Device logs
Logs appeared to exceed allowed character size, please find attached emulator-5554 2022-09-15 10-18-41Z.startup.log
More data, please!
Issue persists on Detox 19.12.1
Any update on this?
Bump
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.
The issue has been closed for inactivity.
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.
Hmm, makes sense to look since there is a repo provided.
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.
The issue has been closed for inactivity.
@DaveM80 is this still applicable? If so, consider this: By going over the logs I've noticed you use Detox over an prelaunched emulator. Would you be able to try out taking an emulator screenshot manually, regardless (i.e. before) of Detox's run? You can use these resources (or any other ones available online) - adb-screenshots1 adb-screenshot2. In any case, if needed, I will reopen the issue.