Closed
Bug 916650
Opened 12 years ago
Closed 12 years ago
[marionette-debug] Show the screenshot images in Firefox
Categories
(Testing Graveyard :: JSMarionette, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: evanxd, Assigned: evanxd)
References
Details
We would like to implement the "marionette-debug" plug-in for debugging purpose when write integration tests.
And we could show the images on Firefox with following script:
client.plugin('debug', require('marionette-debug'));
// create a html file contained the screenshot image
client.debug.screenshot();
// show the image on Firefox
client.debug.showScreenshot();
| Assignee | ||
Comment 1•12 years ago
|
||
Hi James,
I think we don't need the showScreenshot function for just showing screenshots on Firefox when the server URL is not given.
The server URL must be given.
And we could just run the server will be implemented in Bug 916652 in local. And if the local IP is given, the images will be posted to the local server.
Then we could just open Firefox to browse the server to see the screenshots.
How do you think?
Flags: needinfo?(jlal)
Comment 2•12 years ago
|
||
sounds good to me but it makes it more complicated because we cannot run the server in the same process as the tests with good results. I will file another bug about this so we can improve marionette-js-runner's
hooks.
Flags: needinfo?(jlal)
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Resolution: FIXED → WORKSFORME
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•