Closed
Bug 1108994
Opened 10 years ago
Closed 10 years ago
Refactor testAddons_installMultipleExtensions from multiple files into a single file
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Tracking
(firefox35 fixed, firefox36 fixed, firefox37 fixed)
RESOLVED
FIXED
People
(Reporter: daniela.domnici, Assigned: daniela.domnici)
References
Details
Attachments
(3 files, 2 obsolete files)
9.10 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
9.06 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
9.06 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
Combined two tests from testAddons_installMultipleExtensions into one test.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8533647 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8533647 -
Flags: review?(andreea.matei)
Assignee | ||
Updated•10 years ago
|
Summary: Refactor testAdons_installMultipleExtensions from multiple files into a single file → Refactor testAddons_installMultipleExtensions from multiple files into a single file
Comment 2•10 years ago
|
||
Comment on attachment 8533647 [details] [diff] [review] patch_V1 Review of attachment 8533647 [details] [diff] [review]: ----------------------------------------------------------------- The tests fails intermittently (but most of the times) for me: ERROR | Test Failure | { "exception": { "message": "Notification popup state has been opened", "lineNumber": 27, "name": "TimeoutError", "fileName": "resource://mozmill/modules/errors.js" } } ::: firefox/tests/functional/testAddons/testInstallMultipleExtensions.js @@ +106,5 @@ > +function testCheckMultipleExtensionsAreInstalled() { > + addonsManager.open(); > + addonsManager.setCategory({category: addonsManager.getCategoryById({id: "extension"})}); > + > + ADDONS.forEach(function (aAddon) { There is extra whitespace before ADDONS.forEach @@ +109,5 @@ > + > + ADDONS.forEach(function (aAddon) { > + > + //Verify the addons are installed > + var aAddon = addonsManager.getAddons({attribute: "value", value: ADDONS.id})[0]; * aAddon is already used, please choose other variable name * value: aAddon.id @@ +110,5 @@ > + ADDONS.forEach(function (aAddon) { > + > + //Verify the addons are installed > + var aAddon = addonsManager.getAddons({attribute: "value", value: ADDONS.id})[0]; > + var addonIsInstalled = addonsManager.isAddonInstalled({addon: aAddon}); Use the variable defined at previous line instead of aAddon
Attachment #8533647 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8533647 -
Flags: review?(andreea.matei)
Attachment #8533647 -
Flags: review-
Comment 3•10 years ago
|
||
Also update the commit message and remove [include:testAddons_installMultipleExtensions/manifest.ini] from firefox/tests/functional/restartTests/manifest.ini :)
Assignee | ||
Comment 4•10 years ago
|
||
updated patch
Attachment #8533647 -
Attachment is obsolete: true
Attachment #8536589 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8536589 -
Flags: review?(andreea.matei)
Comment 5•10 years ago
|
||
Comment on attachment 8536589 [details] [diff] [review] patch_V2 Review of attachment 8536589 [details] [diff] [review]: ----------------------------------------------------------------- Just a couple of small notes... ::: firefox/tests/functional/testAddons/testInstallMultipleExtensions.js @@ +107,5 @@ > + * Verifies the addons are installed > + */ > +function testCheckMultipleExtensionsAreInstalled() { > + addonsManager.open(); > + addonsManager.setCategory({category: addonsManager.getCategoryById({id: "extension"})}); It would be better to assign addonsManager.getCategoryById({id: "extension"}) to a variable before you use it. @@ +108,5 @@ > + */ > +function testCheckMultipleExtensionsAreInstalled() { > + addonsManager.open(); > + addonsManager.setCategory({category: addonsManager.getCategoryById({id: "extension"})}); > + ADDONS.forEach(function(aAddon) { You also removed the blank line which was before this, please add it back
Attachment #8536589 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8536589 -
Flags: review?(andreea.matei)
Attachment #8536589 -
Flags: review+
Comment 6•10 years ago
|
||
Comment on attachment 8536589 [details] [diff] [review] patch_V2 Review of attachment 8536589 [details] [diff] [review]: ----------------------------------------------------------------- ::: firefox/tests/functional/testAddons/testInstallMultipleExtensions.js @@ +109,5 @@ > +function testCheckMultipleExtensionsAreInstalled() { > + addonsManager.open(); > + addonsManager.setCategory({category: addonsManager.getCategoryById({id: "extension"})}); > + ADDONS.forEach(function(aAddon) { > + //Verify the addons are installed Please also add a space here after //
Assignee | ||
Comment 7•10 years ago
|
||
Updated patch
Attachment #8536589 -
Attachment is obsolete: true
Attachment #8537147 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537147 -
Flags: review?(andreea.matei)
Comment 8•10 years ago
|
||
Comment on attachment 8537147 [details] [diff] [review] patch_V3 Review of attachment 8537147 [details] [diff] [review]: ----------------------------------------------------------------- http://hg.mozilla.org/qa/mozmill-tests/rev/9e4de6c007f8 (default)
Attachment #8537147 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537147 -
Flags: review?(andreea.matei)
Attachment #8537147 -
Flags: review+
Updated•10 years ago
|
Assignee | ||
Comment 9•10 years ago
|
||
I`ve created a new patch for aurora branch.
Attachment #8537678 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537678 -
Flags: review?(andreea.matei)
Comment 10•10 years ago
|
||
Comment on attachment 8537678 [details] [diff] [review] Aurora_installMultipleExtensions_V1 Review of attachment 8537678 [details] [diff] [review]: ----------------------------------------------------------------- http://hg.mozilla.org/qa/mozmill-tests/rev/ab3a4690cf29 (aurora)
Attachment #8537678 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537678 -
Flags: review?(andreea.matei)
Attachment #8537678 -
Flags: review+
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
Assignee | ||
Comment 11•10 years ago
|
||
I`ve created a new patch for beta branch.
Attachment #8537819 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537819 -
Flags: review?(andreea.matei)
Comment 12•10 years ago
|
||
Comment on attachment 8537819 [details] [diff] [review] Beta_installMultipleExtensions_V1 Review of attachment 8537819 [details] [diff] [review]: ----------------------------------------------------------------- http://hg.mozilla.org/qa/mozmill-tests/rev/a152ddb1c07c (beta)
Attachment #8537819 -
Flags: review?(mihaela.velimiroviciu)
Attachment #8537819 -
Flags: review?(andreea.matei)
Attachment #8537819 -
Flags: review+
Updated•10 years ago
|
status-firefox34:
--- → affected
status-firefox-esr31:
--- → affected
Comment 13•10 years ago
|
||
We decided to let these refactoring changes ride the trains.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox34:
affected → ---
status-firefox-esr31:
affected → ---
Resolution: --- → FIXED
Updated•5 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
•