Closed
Bug 674874
Opened 14 years ago
Closed 14 years ago
Mozmill test for installing an add-on from a FTP server
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: vladmaniac, Assigned: vladmaniac)
Details
(Whiteboard: [mozmill-functional][mozmill-aom])
Attachments
(1 file, 2 obsolete files)
|
6.19 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
Tracking bug for testing installation of an add-on via FTP server.
Litmus test: https://litmus.mozilla.org/show_test.cgi?id=17240
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → vlad.maniac
Status: NEW → ASSIGNED
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/16350843
| Assignee | ||
Comment 2•14 years ago
|
||
Uploading initial patch
Attachment #549114 -
Flags: review?(anthony.s.hughes)
Comment 3•14 years ago
|
||
Vlad, please file a bug under Mozilla QA / Infrastructure so we can get an FTP server setup on mozqa.com. We don't want to use external servers as best as possible. Thanks.
(In reply to comment #3)
> Vlad, please file a bug under Mozilla QA / Infrastructure so we can get an
> FTP server setup on mozqa.com. We don't want to use external servers as best
> as possible. Thanks.
Also, don't forget to mark it as a dependency for this bug.
| Assignee | ||
Comment 5•14 years ago
|
||
Will do guys, thanks!
Comment on attachment 549114 [details] [diff] [review]
patch v1.0 for release branch
Canceling review until we can get the dependency resolved. Drive-by style review looks fine.
Attachment #549114 -
Flags: review?(anthony.s.hughes)
| Assignee | ||
Comment 7•14 years ago
|
||
Yey we have a ftp server for mozqa.
This wip patch does the following:
- goes to the ftp page
- installs the first add-on from the list (in this case empty.xpi)
- checks that empty.xpi is installed
Do we plan to change the page in the near future? If so, i guess we need to change this test
to work for a random add-on somehow. Henrik, what do you think?
What we should have:
- Go to the ftp page test 1.js
- Install a random add-on test1.js
- Identify on which add-on did we click to install test1.js
- Verify if the add-on was installed test2.js
Better ideas are highly appreciated
Attachment #549114 -
Attachment is obsolete: true
Attachment #568772 -
Flags: feedback?(hskupin)
Comment 8•14 years ago
|
||
Comment on attachment 568772 [details] [diff] [review]
wip patch 1.0
>+const FTP_SERVER = "ftp://ftp.mozqa.com";
Please don't introduce new variable names. It has to be consistent with all the other tests.
>+const ADDON_PAGE = FTP_SERVER + "/data/firefox/addons/extensions/";
We have to wait until the dependency bug has been fully fixed. Also reference the extension to install directly.
>+ var nodeCollector = new domUtils.nodeCollector(controller.tabs.activeTab);
>+ nodeCollector.queryNodes("tr a");
>+
>+ var md = new modalDialog.modalDialog(addonsManager.controller.window);
>+ var linkCount = nodeCollector.elements.length;
>+ var addonLink = nodeCollector.elements[3];
All that is not necessary.
>+const ADDON_ID = "test-empty@quality.mozilla.org";
As usual please use persisted and set the id in the first test module.
>+ assert.ok(addonsManager.isAddonInstalled({addon: addon}),
>+ "Addon " + ADDON_ID + " has been correctly installed");
nit: add ' around the id.
Attachment #568772 -
Flags: feedback?(hskupin) → feedback-
| Assignee | ||
Comment 9•14 years ago
|
||
Well the dependency bug was marked as fixed when i provided the patch. Guess i was too fast
I will just wait for the dependency to be completely fixed then address to your other comments.
Thanks for f!
| Assignee | ||
Comment 10•14 years ago
|
||
Fixed.
We are now installing from mozqa ftp server.
The add-on is installed directly (direct ftp link to xpi file)
Attachment #568772 -
Attachment is obsolete: true
Attachment #576736 -
Flags: review?(anthony.s.hughes)
| Assignee | ||
Comment 11•14 years ago
|
||
We do not depend on bug 675163 even if its reopened as stated in https://bugzilla.mozilla.org/show_bug.cgi?id=675163#c17
Attachment #576736 -
Flags: review?(anthony.s.hughes) → review+
Comment 12•14 years ago
|
||
Comment on attachment 576736 [details] [diff] [review]
patch v1.0 all branches [checked-in]
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/9959cd32ad6f (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/910f3337538f (mozilla-aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/27f4ce46667d (mozilla-beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/d85845e3a2a4 (mozilla-release)
Attachment #576736 -
Attachment description: patch v1.0 all branches → patch v1.0 all branches [checked-in]
Comment 13•14 years ago
|
||
Please verify with tomorrow's test run.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•