Open
Bug 980970
Opened 11 years ago
Updated 2 years ago
Output a screenshot to the test log on Android when a test fails
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
Bug 968200 is an example where Firefox would show an alert and would time out waiting for somebody to click it. We should log a screenshot when a test times out. With that, debugging what's happening in that bug would take minutes rather than weeks.
Comment 1•11 years ago
|
||
I think for Android 4 this is not hard, I have an alias sitting around that does:
adb shell /system/bin/screencap -p /sdcard/screenshot.png
I'm not sure if that exists on 2.{2,3}.
Comment 2•11 years ago
|
||
blobber will help here too: pull screenshot.png to MOZ_UPLOAD_DIR and we are done!
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•