31
edits
(Added links for TestRail, Google docs) |
|||
| (31 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
! Date !! Version !! Author !! Description | ! Date !! Version !! Author !! Description | ||
|- | |- | ||
| 01 | | 05/01/2017 || 1.0 || Krupa Raj || Created first draft | ||
|- | |- | ||
| | | 08/17/2017 || 1.1 || Vasilica Mihasca || Updates | ||
|- | |- | ||
|} | |} | ||
| Line 17: | Line 13: | ||
= Overview = | = Overview = | ||
In 57, Firefox Desktop Release will only support installation of Webextensions. All legacy extensions will fail to install on all channels except for Nightly. Complete themes support will also cease after 57. | |||
This feature will be implemented in two stages : | |||
== Stage 1:== | |||
All non-mpc add-ons will be disabled on Nightly by default. This is being tracked at [https://bugzilla.mozilla.org/show_bug.cgi?id=1352204 Bug 1352204]. Users will be able to enable these disabled add-ons by going to about:config and toggling the pref extensions.allow-non-mpc-extensions to set it to "true" | |||
==Stage 2: == | |||
This feature will land in 57 and will disable all legacy add-ons on firefox desktop release channel. Users will still be able to install legacy add-ons on Nightly after toggling "extensions.legacy.enabled" pref to true. Android will be unaffected and will continue to allow install of legacy extensions. Dictionaries and Language Packs should still work as always. Support for Complete Themes will fully cease in 57. | |||
== Purpose == | == Purpose == | ||
This document purports to detail the test approach to | This document purports to detail the test approach to the Webextensions Cutover including Entry/Exit criteria, Scope for testing, links to testcases etc | ||
=== Entry Criteria === | === Entry Criteria === | ||
| Line 45: | Line 47: | ||
This section describes what parts of the feature will be tested and what parts won't be. | This section describes what parts of the feature will be tested and what parts won't be. | ||
== what's in scope? == | |||
The compat table listed below should provide all the permutations supported by Firefox and which will in turn get tested before release. | |||
=== Compat. Table === | |||
The table below shows what is installable where when 57 hits the Firefox release channel. NOTE that for a while when 57 is in the Nightly channel, with the pref enabled - install of legacy extensions will fail on Nightly but will be supported on beta and release. | |||
{| class="wikitable" | |||
* | |- | ||
! Type !! Status !! Nightly !! Beta, Release | |||
|- | |||
| WebExtension || Signed by AMO || YES || YES | |||
|- | |||
| || Signed by Mozilla internally || YES || YES | |||
|- | |||
| || Unsigned || YES with pref || NO | |||
|- | |||
| || Unsigned loaded temporarily || YES || YES | |||
|- | |||
| Legacy Extension (bootstrapped, overlay, XUL etc) || Signed by AMO || YES with pref || NO | |||
|- | |||
| || Signed by Mozilla internally || YES || YES | |||
|- | |||
| || Unsigned || YES with pref || NO | |||
|- | |||
| || Unsigned loaded temporarily || YES || NO | |||
|- | |||
| WebExtension Experiment || Signed by AMO || YES || NO | |||
|- | |||
| || Signed by Mozilla internally || YES || YES | |||
|- | |||
| || Unsigned || YES with pref || NO | |||
|- | |||
| || Unsigned loaded temporarily || YES || NO | |||
|- | |||
| New style static theme || Signed by AMO || YES || YES | |||
|- | |||
| || Signed by Mozilla internally || YES || YES | |||
|- | |||
| || Unsigned || YES || YES | |||
|- | |||
| || Unsigned loaded temporarily || YES || YES | |||
|- | |||
| Telemetry Experiments || Signed by AMO || YES || YES | |||
|- | |||
| || Signed by Mozilla internally || YES || YES | |||
|- | |||
| || Unsigned || YES with pref || YES | |||
|- | |||
| || Unsigned loaded temporarily || YES || YES | |||
|- | |||
| Legacy lightweight theme || Signed by AMO || YES || YES | |||
|- | |||
| Complete Themes || Any combination || YES with pref || NO | |||
|- | |||
| Multiple item package || Any combination || NO || NO | |||
|- | |||
| Language Pack || Any combination || YES || YES | |||
|- | |||
| Dictionaries || Any combination || YES || YES | |||
|- | |||
|} | |||
=== AMO === | |||
Awaiting changelist from jorgev | |||
=== Other === | |||
The other things will also get tested is | |||
* Reverting to an older version of Firefox | |||
* Switching channels across the same profile | |||
* Full regression testing for Android | |||
===what's out of scope?=== | ===what's out of scope?=== | ||
* Security testing | * Security testing | ||
* Performance testing | * Performance testing | ||
* Testing for ESR | |||
== Ownership == | == Ownership == | ||
| Line 75: | Line 141: | ||
=== Nightly === | === Nightly === | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
* | * Stage 1: Set extensions.allow-non-mpc-extensions to false from about:config. | ||
* | * Stage 2: Set extensions.legacy.enabled to false from about:config. | ||
* Starting with 2017-08-12 this feature will be enabled by default. | |||
* Disable check for signing if testing on AMO dev or stage | * Disable check for signing if testing on AMO dev or stage | ||
</div> | </div> | ||
| Line 87: | Line 149: | ||
=== Beta === | === Beta === | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
* | * The feature is enabled by default. | ||
* [Unbranded build] Disable check for signing if testing on AMO dev or stage | * [Unbranded build] Disable check for signing if testing on AMO dev or stage | ||
| Line 106: | Line 168: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Ref !! Function !! Test Objective | ! Ref !! Function !! Test Objective !! Test Type !! Owners | ||
|- | |- | ||
| TO-1 || | | TO-1 || Installing from AMO || To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-2 || | | TO-2 || Installing from Discopane || To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-3 || Installing from | | TO-3 || Installing from Add-ons manager || To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-4 || Installing | | TO-4 || Installing via sideloading || To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-5 || Installing from | | TO-5 || Installing from local files|| To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-6 || Installing | | TO-6 || Installing from thirdparty || To verify that legacy add-ons installation is successfully blocked || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-7 || | | TO-7 || Add-on updates || To verify that legacy add-on is successfully updated to a webextension version || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-8 || | | TO-8 || Browser upgrade || To verify that legacy add-on are successfully disabled and displayed in Legacy Extensions tab || Manual || Add-ons QA Team | ||
|- | |- | ||
| TO-9 || | | TO-9 || Browser downgrade || To verify that legacy add-on are successfully enabled and functional || Manual || Add-ons QA Team | ||
|} | |} | ||
== Builds == | == Builds == | ||
This section should contain links for builds with the feature - | This section should contain links for builds with the feature - | ||
* [ | * [http://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ Nightly builds] | ||
* [https://archive.mozilla.org/pub/firefox/ | * [https://archive.mozilla.org/pub/firefox/candidates/ Beta builds] | ||
* [https://archive.mozilla.org/pub/firefox/ | * Beta Unbranded builds: | ||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-beta-win64-add-on-devel/ Windows Link] | |||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-beta-linux64-add-on-devel/ Linux Link] | |||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-beta-macosx64-add-on-devel/ Mac Link] | |||
* [https://archive.mozilla.org/pub/firefox/releases/ Release builds] | |||
* Release Unbranded builds: | |||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-win64-add-on-devel/ Windows Link] | |||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-linux64-add-on-devel/ Linux Link] | |||
** [https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-macosx64-add-on-devel/ Mac Link] | |||
== Test Execution Schedule == | == Test Execution Schedule == | ||
| Line 146: | Line 216: | ||
|- | |- | ||
| QA - Test plan creation | | QA - Test plan creation | ||
|style="text-align:center;" | 01- | |style="text-align:center;" | 01-05-2017 || | ||
|- | |- | ||
| QA - Test cases/Env preparation | | QA - Test cases/Env preparation | ||
| Line 152: | Line 222: | ||
|- | |- | ||
| QA - Nightly Testing | | QA - Nightly Testing | ||
|style="text-align:center;" | | |style="text-align:center;" |14-06-2017 || | ||
|- | |- | ||
| QA - Beta Testing | | QA - Beta Testing | ||
| Line 172: | Line 239: | ||
| Test plan creation || Mozilla wiki | | Test plan creation || Mozilla wiki | ||
|- | |- | ||
| Test case creation || [https://testrail.stage.mozaws.net/index.php TestRail] / [https://docs.google.com/spreadsheets/d/ | | Test case creation || [https://testrail.stage.mozaws.net/index.php?/suites/view/1489&group_by=cases:section_id&group_order=asc TestRail] / [https://docs.google.com/spreadsheets/d/1aqP3lBVXwwmuXBE44Vwdanwf1DKgDrQ2FWc-3zLtTHk/edit#gid=1 Google docs] / [https://public.etherpad-mozilla.org/p/webextensions-cutover etherpad] | ||
|- | |- | ||
| Test case execution || [https://testrail.stage.mozaws.net/index.php TestRail] | | Test case execution || [https://testrail.stage.mozaws.net/index.php?/runs/view/6276 TestRail] | ||
|- | |- | ||
| Bugs management || Bugzilla / Github | | Bugs management || Bugzilla / Github | ||
| Line 186: | Line 253: | ||
== Risk analysis == | == Risk analysis == | ||
This section identified high-risk areas related to testing- | |||
* Users reverting to an older version of Firefox: Users trying to work around the restrictions may see unexpected regressions related to <bug number> | |||
** Mitigation strategy: Reverting to an older version/ESR builds will be tested as part of the end-to-end testing of this feature. | |||
* Switching channels using the same profile may result in unexpected behavior. | |||
= References = | = References = | ||
| Line 198: | Line 266: | ||
{ | { | ||
"blocks":[1352204], | "blocks":[1352204], | ||
"include_fields": "id, priority, component, assigned_to, summary, status, target_milestone" | |||
} | |||
</bugzilla> | |||
* {{Bug|1360777}} - about:addons indications for disabled legacy extensions | |||
<bugzilla> | |||
{ | |||
"blocks":[1360777], | |||
"include_fields": "id, priority, component, assigned_to, summary, status, target_milestone" | "include_fields": "id, priority, component, assigned_to, summary, status, target_milestone" | ||
} | } | ||
| Line 241: | Line 316: | ||
== Test suite == | == Test suite == | ||
* Link for the [https://public.etherpad-mozilla.org/p/ | * Link for the [https://public.etherpad-mozilla.org/p/webextensions-cutover Initial test planning] | ||
* Link for the [https://docs.google.com/spreadsheets/d/ | * Link for the [https://docs.google.com/spreadsheets/d/1aqP3lBVXwwmuXBE44Vwdanwf1DKgDrQ2FWc-3zLtTHk/edit#gid=1 Google doc tests] | ||
* Link for the [https://testrail.stage.mozaws.net/index.php?/suites/view/ | * Link for the [https://testrail.stage.mozaws.net/index.php?/suites/view/1489&group_by=cases:section_id&group_order=asc TestRail tests] | ||
= Bug Work = | = Bug Work = | ||
Tracking bug - [https://bugzilla.mozilla.org/show_bug.cgi?id= | Tracking bug - [https://bugzilla.mozilla.org/show_bug.cgi?id=1360777 bug 1360777] | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:auto"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:auto"> | ||
====== Bug fix verification ====== | ====== Bug fix verification ====== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
edits