Detox
Detox copied to clipboard
Android device screenshots are transparent on Github Actions
Description
I use Github Actions to run a pipeline that tests a react native app in both Android and iOS emulators. I do screenshot comparisons in some cases for validations. On my local mac this all works as expected. On Github Actions this also works fine for iOS, but for Android any device screenshots that I take show up as transparent images with the correct resolution. Taking screenshots of elements works just fine.
Any ideas of what might be causing this would be appreciated.
Your environment
Detox version: 19.9.3 React Native version: 0.64 Node version: 16.17.0 Device model: emulator pixel OS: mac Test-runner (select one): jest+jasmine
We're seeing the same issue
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.
Also having this issue
Was facing the same issue, setting the avd to use "-gpu host" solved my issue.