question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Android produce blank screenshot / black video within GitHub actions

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I run tests within a CI, I upload an artifacts that contains screenshots and videos of failed test.

This is how it look like for the screenshots image

This is the video shot in CI: <video src="https://user-images.githubusercontent.com/77674046/204561099-597271b2-9bcd-4b68-ba41-e7273432b2b6.mp4"></video>

This is the video log: wdio-0-0-Video-reporter.log

Both work locally.

Expected Behavior

We expect to have proper screenshot of our app

Minimal Reproducible Example

Environment

  • Operating system: macos-12 github action
  • If running via appium CLI…
    • Appium CLI version (output of appium --version): 2.0.0-beta.46
    • Node.js version (output of node --version): v18.7.0
    • yarn version (output of yarn --version): 1.22.15
    • Last appium version which did not exhibit the problem: NA
  • Appium driver(s) and their version(s): - uiautomator2@2.9.0 [installed (NPM)]
  • Appium plugin(s) and their version(s): NA
  • Platform and version under test: Android 10.0 Nexus6P
  • Real device or emulator/simulator: emulator

Link to Appium Logs

https://github.com/pass-culture/pass-culture-app-native/actions/runs/3573959420/jobs/6008640936

Futher Information

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, Nov 30, 2022

I usually pin issues in such case, although this only makes sense if we get the same issue reported by multiple people. For now it was only a single report so far.

1reaction
mykola-mokhnachcommented, Nov 29, 2022

These are client logs, I need server ones

If it works locally then, most likely, there is an issue with the screenshot fetching/uploading code. It has nothing to do with driver functionality

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android emulator on macos blank screenshots and videos
Issue was reported to appium bug: Android produce blank screenshot / black video within GitHub actions appium/appium#17837 , but they advised us to...
Read more >
Android device screenshots are transparent on Github Actions
Description I use Github Actions to run a pipeline that tests a react ... bug: Android produce blank screenshot / black video within...
Read more >
Android emulator boots up with black screen on microsoft ...
Description I have setup a pipeline in azure devops to run automated tests using android emulator on microsoft hosted agent .
Read more >
Does not work with apps that block screenshots #36 - GitHub
Apps such as Bitwarden and Silence block screenshots. Attemtping to take a screenshot on the device results in this error.
Read more >
Getting a black screen when using webrtc video #37 - GitHub
Great work. I was able to set up the project and run it. But accessing video is not working, screenshotting works but as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found