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)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vladmaniac, Assigned: vladmaniac)

Details

(Whiteboard: [mozmill-functional][mozmill-aom])

Attachments

(1 file, 2 obsolete files)

Tracking bug for testing installation of an add-on via FTP server. Litmus test: https://litmus.mozilla.org/show_test.cgi?id=17240
Assignee: nobody → vlad.maniac
Status: NEW → ASSIGNED
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/16350843
Attached patch patch v1.0 for release branch (obsolete) — Splinter Review
Uploading initial patch
Attachment #549114 - Flags: review?(anthony.s.hughes)
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.
Will do guys, thanks!
Depends on: 675163
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)
Whiteboard: [mozmill-aom]
Attached patch wip patch 1.0 (obsolete) — Splinter Review
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 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-
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!
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)
We do not depend on bug 675163 even if its reopened as stated in https://bugzilla.mozilla.org/show_bug.cgi?id=675163#c17
Whiteboard: [mozmill-aom] → [mozmill-functional][mozmill-aom]
Attachment #576736 - Flags: review?(anthony.s.hughes) → review+
Attachment #576736 - Attachment description: patch v1.0 all branches → patch v1.0 all branches [checked-in]
Please verify with tomorrow's test run.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
No longer depends on: 675163
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: