Closed Bug 1108993 Opened 10 years ago Closed 10 years ago

Refactor testAdons_uninstallTheme from multiple files into a single file

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

Version 3
defect
Not set
normal

Tracking

(firefox37 fixed)

RESOLVED FIXED
Tracking Status
firefox37 --- fixed

People

(Reporter: daniela.domnici, Assigned: daniela.domnici)

References

Details

Attachments

(1 file, 2 obsolete files)

Combined three tests from testAddons_uninstallTheme into one test.
Attached patch patch_V1 (obsolete) — Splinter Review
Attachment #8533646 - Flags: review?(mihaela.velimiroviciu)
Attachment #8533646 - Flags: review?(andreea.matei)
Comment on attachment 8533646 [details] [diff] [review]
patch_V1

Review of attachment 8533646 [details] [diff] [review]:
-----------------------------------------------------------------

Update the commit message.
You should also remove [include:testAddons_uninstallTheme/manifest.ini] from firefox/tests/functional/restartTests/manifest.ini

::: firefox/tests/functional/testAddons/testUninstallTheme.js
@@ +64,5 @@
>  /**
>   * Test installing a theme
>   */
>  function testInstallTheme() {
> +  persisted.nextTest = "testThemeIsUninstalled";

The next test should be "testThemeIsInstalled"

@@ +108,5 @@
> +function testThemeIsUninstalled() {
> +  addonsManager.open();
> +
> +  var theme = addonsManager.getAddons({attribute: "value",
> +                                       value: THEME.id});

This can stay on the previous line
Attachment #8533646 - Flags: review?(mihaela.velimiroviciu)
Attachment #8533646 - Flags: review?(andreea.matei)
Attachment #8533646 - Flags: review-
Attached patch patch_V2 (obsolete) — Splinter Review
Updated patch
Attachment #8533646 - Attachment is obsolete: true
Attachment #8536414 - Flags: review?(mihaela.velimiroviciu)
Attachment #8536414 - Flags: review?(andreea.matei)
Attached patch patch_V2Splinter Review
Updated patch
Attachment #8536414 - Attachment is obsolete: true
Attachment #8536414 - Flags: review?(mihaela.velimiroviciu)
Attachment #8536414 - Flags: review?(andreea.matei)
Attachment #8537833 - Flags: review?(mihaela.velimiroviciu)
Attachment #8537833 - Flags: review?(andreea.matei)
Comment on attachment 8537833 [details] [diff] [review]
patch_V2

Review of attachment 8537833 [details] [diff] [review]:
-----------------------------------------------------------------

http://hg.mozilla.org/qa/mozmill-tests/rev/9a6705b27149 (default)
Attachment #8537833 - Flags: review?(mihaela.velimiroviciu)
Attachment #8537833 - Flags: review?(andreea.matei)
Attachment #8537833 - Flags: review+
We decided to let these refactoring changes ride the trains.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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: