Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Device screenshots are not captured on android emulators in pipeline runners

Open DaveM80 opened this issue 3 years ago • 1 comments

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?

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!

detox-artifacts.zip

DaveM80 avatar Sep 15 '22 10:09 DaveM80

Issue persists on Detox 19.12.1

DaveM80 avatar Sep 15 '22 13:09 DaveM80

Any update on this?

tricky93 avatar Oct 05 '22 14:10 tricky93

Bump

DaveM80 avatar Oct 15 '22 16:10 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 Nov 19 '22 18:11 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Nov 26 '22 23:11 stale[bot]

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 Dec 27 '22 18:12 stale[bot]

Hmm, makes sense to look since there is a repo provided.

noomorph avatar Dec 28 '22 18:12 noomorph

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 Feb 11 '23 15:02 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Feb 19 '23 20:02 stale[bot]

@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.

d4vidi avatar Feb 22 '23 16:02 d4vidi