Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Android device screenshots are transparent on Github Actions

Open ablok opened this issue 2 years ago • 1 comments

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

ablok avatar Sep 02 '22 13:09 ablok

We're seeing the same issue

DaveM80 avatar Sep 14 '22 10:09 DaveM80

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[bot] avatar Oct 15 '22 15:10 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Oct 22 '22 16:10 stale[bot]

Also having this issue

wadey1 avatar Nov 29 '22 10:11 wadey1

Was facing the same issue, setting the avd to use "-gpu host" solved my issue.

ayush547 avatar Dec 14 '22 06:12 ayush547