Closed Bug 996453 Opened 10 years ago Closed 6 years ago

Could not capture screenshots when on the keyboard frame.

Categories

(Testing Graveyard :: JSMarionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: evanxd, Unassigned)

References

Details

STP:

1. go to keyboard frame with `client.apps.switchToApp('app://keyboard.gaiamobile.org')`.
2. capture a screenshot with `client.screenshot()`.
3. KO

Actual:
print nothing

Expected:
print out the base64 image.
Blocks: 993247
Hi, a working test script will be very helpful to reproduce this.
Flags: needinfo?(evanxd)
Sure, will provide that here once have time.
Thanks.
Hi Vicamo,

Please follow the below step to reproduce this bug.
1. Clone this branch https://github.com/evanxd/gaia/tree/bug-996453
2. Run `npm install` on Terminal to install the dependent npm modules.
3. Run `make test-integration APP=keyboard` to run the test with doing screenshot.

Actual:
The terminal just print out "Screenshot: data:image/png;base64,[empty]", the string of base64 image is empty.

Expected:
The terminal print out "Screenshot: data:image/png;base64,xxx....".

Thanks for helping this.
Flags: needinfo?(evanxd) → needinfo?(vyang)
Please make you have nodejs(~v0.10.16) and npm(~1.3.8) before you do the above steps.
Thanks.
Flags: needinfo?(vicamo)
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.