Closed
Bug 936371
Opened 11 years ago
Closed 11 years ago
[marionette-plugin] APIs to setup video, image, music resources for testing.
Categories
(Testing Graveyard :: JSMarionette, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evanxd, Assigned: evanxd)
Details
Attachments
(1 file, 3 obsolete files)
Hi all, We should have a marionette plugin to setup video, image, music resources for testing job. It is very useful to do testing in Video, Gallery, Music... Apps.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → evanxd
Comment 1•11 years ago
|
||
Suggest to support the following thing: 1. put a single file 2. add a bunch of file 3. delete a single file 4. delete a bunch of file There is one thing need to be confirmed if device storage still watches the change of file system. We use it to dynamic change our list during the execution. If it works, we can create a case that when a user watch a video and some background app creates a video or deletes a video.
Assignee | ||
Comment 2•11 years ago
|
||
Hi all, How do you guys think? This plugin could be useful for Video, Gallery, Music App.
Flags: needinfo?(jlal)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(gaye)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(mike)
Comment 3•11 years ago
|
||
Very useful! Are you familiar with the work our intern (tom) did in this realm for b2g-desktop? https://github.com/mozilla-b2g/gaia/pull/12169/files#diff-354c7fb3ca672cdd460d8614748fa7f0R7 This can be adapted very easily for any device storage case (and hopefully into a sync only plugin) but we need to keep in mind the process will be different for the device (adb) case.
Flags: needinfo?(jlal)
Assignee | ||
Comment 5•11 years ago
|
||
Hi James, Please help review the patch. One I have permission of https://github.com/mozilla-b2g/marionette-file-manager, I will send PR to it.
Attachment #8333656 -
Flags: review?(jlal)
Assignee | ||
Comment 6•11 years ago
|
||
Hi James, Please help review the patch. One I have permission of https://github.com/mozilla-b2g/marionette-file-manager, I will send PR to it.
Attachment #8333656 -
Attachment is obsolete: true
Attachment #8333656 -
Flags: review?(jlal)
Attachment #8333657 -
Flags: review?(jlal)
Assignee | ||
Updated•11 years ago
|
Attachment #8333657 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8333657 [details] Patch v1 ><!DOCTYPE html> ><meta charset="utf-8"> ><meta http-equiv="refresh" content="5;https://github.com/evanxd/marionette-file-manager/commit/f855e36e8777db69c55980e293f155124a693783"> ><title>Bugzilla Code Review</title> ><p>You can review this patch at <a href="https://github.com/evanxd/marionette-file-manager/commit/f855e36e8777db69c55980e293f155124a693783">https://github.com/evanxd/marionette-file-manager/commit/f855e36e8777db69c55980e293f155124a693783</a>, or wait 5 seconds to be redirected there automatically.</p>
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8333657 [details] Patch v1 ><!DOCTYPE html> ><meta charset="utf-8"> ><meta http-equiv="refresh" content="5;https://github.com/evanxd/marionette-file-manager/commit/ca3adb5ecdce592f0a5caa81aa2e9d56e11af481"> ><title>Bugzilla Code Review</title> ><p>You can review this patch at <a href="https://github.com/evanxd/marionette-file-manager/commit/ca3adb5ecdce592f0a5caa81aa2e9d56e11af481">https://github.com/evanxd/marionette-file-manager/commit/ca3adb5ecdce592f0a5caa81aa2e9d56e11af481</a>, or wait 5 seconds to be redirected there automatically.</p>
Attachment #8333657 -
Flags: review?(jlal)
Assignee | ||
Comment 9•11 years ago
|
||
Hi James, Please help review the patch. One I have permission of https://github.com/mozilla-b2g/marionette-file-manager, I will send PR to it. Thanks.
Attachment #8333657 -
Attachment is obsolete: true
Attachment #8333895 -
Flags: review?(jlal)
Assignee | ||
Updated•11 years ago
|
Attachment #8333895 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8333895 [details] Pull request <!DOCTYPE html> <meta charset="utf-8"> <meta http-equiv="refresh" content="5;https://github.com/mozilla-b2g/marionette-file-manager/pull/1"> <title>Bugzilla Code Review</title> <p>You can review this patch at <a href="https://github.com/mozilla-b2g/marionette-file-manager/pull/1">https://github.com/mozilla-b2g/marionette-file-manager/pull/1</a>, or wait 5 seconds to be redirected there automatically.</p>
Attachment #8333895 -
Attachment description: Patch v2 → Pull request
Assignee | ||
Updated•11 years ago
|
Attachment #8333895 -
Flags: review?(jlal)
Assignee | ||
Comment 11•11 years ago
|
||
Hi James, Already sent PR to marionette-file-manager in mozilla-b2g. Please help me review the patch. Thanks.
Attachment #8333895 -
Attachment is obsolete: true
Attachment #8334328 -
Flags: review?(jlal)
Assignee | ||
Updated•11 years ago
|
Attachment #8334328 -
Attachment mime type: text/plain → text/html
Comment 12•11 years ago
|
||
Comment on attachment 8334328 [details]
Pull request
Concept looks good but we need integration tests that hit device storage (executeScript)
Attachment #8334328 -
Flags: review?(jlal) → review-
Assignee | ||
Comment 13•11 years ago
|
||
Hi James, I added the integration tests. Please check it out. Thanks.
Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 8334328 [details]
Pull request
Hi James,
I updated the patch for your comments.
Please help me to review the patch.
Thanks. :)
Attachment #8334328 -
Flags: review- → review?(jlal)
Comment 15•11 years ago
|
||
Just to clarify our irc conversation- I would also like to add a test which ensures we are saving the correct bytes (and more importantly b2g reads the correct bytes). This can be done via round tripping some small ascii data or whatever random bytes make you happy. I outlined what I thought made sense before. I can pick up this part if you don't feel comfortable writing it right now but I would love to see this as it is the last piece that is not 100% tested :)
Assignee | ||
Comment 16•11 years ago
|
||
Hi James, Yes, we should do this. See https://github.com/mozilla-b2g/marionette-file-manager/pull/1/files#diff-0b7dfaa8fee378e1693e82162dd70581R41.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(gaye)
Assignee | ||
Comment 17•11 years ago
|
||
Hi James, Is this we want for testing file copy? https://github.com/evanxd/marionette-file-manager/blob/b17d96013c7e7c4d30ae8fb407d910029cf5285d/test/integration/index_test.js#L41-L61 Thanks.
Flags: needinfo?(jlal)
Comment 18•11 years ago
|
||
cc punam, since she will work on marionette test of video app.
Comment 19•11 years ago
|
||
Comment on attachment 8334328 [details] Pull request awesome work: https://github.com/mozilla-b2g/marionette-file-manager/commit/42260f92257fb7cbb15824b41a036947c770c2a3
Attachment #8334328 -
Flags: review?(jlal) → review+
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jlal)
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•