Add-ons/QA/Testplan/Abuse reporting in about:addons: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 150: Line 150:
== Risk analysis ==
== Risk analysis ==
  Question about providing client ID and installation date to AMO for an AMO-based flow vs bridging the AMO-based flow with the Firefox one to create one UX.
  Question about providing client ID and installation date to AMO for an AMO-based flow vs bridging the AMO-based flow with the Firefox one to create one UX.
  Identify the high-risk assumptions
  Identify the high-risk assumptions
  Identify existing bugs on the feature with high risk
  Identify existing bugs on the feature with high risk

Revision as of 13:50, 14 May 2019

Revision History

Date Version Author Description
02/14/2018 1.0 Cosmin Badescu Created first draft


Overview

  • In order to increase monitoring of unlisted Firefox extensions and user security, we are implementing a new abuse report feature in the Firefox Add-ons Manager. It will allow users to report add-ons they have installed or recently removed. It includes report categorization features that will also be implemented on AMO for consistency and better report quality.

Purpose

This document purports to detail the test approach for the Abuse reporting in about:addons feature and includes Entry/Exit criteria, Scope for testing, links to test cases etc

Entry Criteria

  • QA has access to all the PRDs, mocks and related documents
  • The feature has landed on Nightly
  • AMO parts has landed on dev

Exit Criteria

  • All the bugs against the feature have been triaged
  • All the P1/P2 bugs have been fixed
  • All the resolved bugs have been verified by QA
  • The find/fixed rate is going down over a predefined period of time

Acceptance Criteria

This section broadly outlines when the product is ready to ship

  • QA has signed off
  • All info is localized at least for a pre-defined set of locales
  • All the necessary PR/blogposts have been sent out

Scope

This section describes what parts of the feature will be tested and what parts won't be.

what's in scope?

  • This is a cross-platform feature that is not limited to any specific operating systems or locales. QA for this should be straightforward: confirming that all abuse reporting user flows function as expected.

As this is a new feature, there should be unit test coverage provided as part of the development effort; in addition, there are no existing issues that need to be resolved for this, and mitigation of any blocking issues discovered in QA should be as simple as not enabling the pref for release.

what's out of scope?

  • Security testing

Ownership

Dev Lead: Luca Greco; irc nick :rpl
QA Manager: Krupa Raj; irc nick :krupa
QA Lead: Victor Carciu; irc nick :victorc
Webextensions QA: Victor Carciu; irc nick :VictorC
AMO QA: Alexandra Moga; irc nick :LexaSV

Requirements for testing

Environments

OSes covered: Windows, Mac OS X, Linux

Channel dependent settings (configs) and environment setups

Nightly

  • Enable extensions.htmlaboutaddons.enabled from about:config

Beta

  • Enable extensions.htmlaboutaddons.enabled from about:config

Release

The feature is enabled by default

Test Strategy

Test Objectives

This section details the progression test objectives that will be covered. Please note that this is at a high level. For large projects, a suite of test cases would be created which would reference directly back to this master. This could be documented in bullet form or in a table similar to the one below.

Ref Function Test Objective Test Type Owners
TO-1 Installing from AMO To verify that the extension uses the API correctly Manual Add-ons QA Team
TO-2 Installing from local files To verify that the extension uses the API correctly Manual Add-ons QA Team
TO-3 Add-on updates To verify that the extension uses the API correctly Manual Add-ons QA Team
TO-4 Sideloading To verify that the extension uses the API correctly Manual Add-ons QA Team

Builds

This section should contain links for builds with the feature -

  • Link for Nightly builds
  • Link for Beta builds
  • Link for Release builds

Test Execution Schedule

The following table identifies the anticipated testing period available for test execution.

Project phase Start Date End Date
Start project
Study documentation/specs received from developers
QA - Test plan creation 05-14-2018
QA - Test cases/Env preparation 05-16-2018 N/A
QA - Nightly Testing N/A N/A
QA - Beta Testing 05-20-2018
Release Date

Testing Tools

Detail the tools to be used for testing, for example see the following table:

Process Tool
Test plan creation Mozilla wiki
Test case creation [ Docs] / TestRail
Test case execution [ Docs] / [ TestRail]
Bugs management Bugzilla / Github

Status

Overview

Track the dates and build number where feature was released to Nightly
Track the dates and build number where feature was merged to Release/Beta

Risk analysis

Question about providing client ID and installation date to AMO for an AMO-based flow vs bridging the AMO-based flow with the Firefox one to create one UX.
Identify the high-risk assumptions
Identify existing bugs on the feature with high risk
Identify if other areas are affected by the fix

References

* List and links for specs
  PRD - []
  Install flow - N/A
  


* bug 1505924 - [meta] New about:addons interface
Full Query
ID Priority Component Assigned to Summary Status Resolution Target milestone
1499500 P3 Add-ons Manager William Durand [:willdurand] Find in page is not possible in Add-ons manager RESOLVED FIXED 112 Branch
1514316 P2 Add-ons Manager Mark Striemer [:mstriemer] Setup a new about:addons behind a pref VERIFIED FIXED mozilla67
1525090 P2 Add-ons Manager Mark Striemer [:mstriemer] Use AddonListeners for HTML about:addons views VERIFIED FIXED mozilla67
1530530 P2 Add-ons Manager Show something when there are no add-ons installed RESOLVED DUPLICATE ---
1531967 P3 Add-ons Manager Use toggles instead of radio buttons for add-on options NEW ---
1533795 P1 Add-ons Manager Mark Striemer [:mstriemer] [meta] about:addons interface changes [phase 1] RESOLVED FIXED ---
1540173 -- Add-ons Manager [meta] change "Get Add-ons" (discopane) to be a proper part of about:addons rather than a framed page from AMO RESOLVED FIXED ---
1544111 P3 Themes Tim Nguyen :ntim Fix HTML about:addons to work with dark in-content pages VERIFIED FIXED mozilla68
1546711 P3 Add-ons Manager [about:addons] When aboutaddons.html frame is reloaded, it stays blank until the parent about:addons is reloaded RESOLVED FIXED ---
1549450 P2 Add-ons Manager Mark Striemer [:mstriemer] Cleanup inline options browser hacks RESOLVED FIXED ---
1550938 -- Add-ons Manager [about:addons] New HTML add-ons manager shows info about extensions in private windows for dictionaries and plugins RESOLVED DUPLICATE ---
1553608 P3 Add-ons Manager Use equal instead of is in new mochitests NEW ---
1555012 P1 Add-ons Manager Rob Wu [:robwu] Enable HTML about:addons by default VERIFIED FIXED mozilla69
1555372 P3 Add-ons Manager Remove eslint comments in toolkit/mozapps/extensions NEW ---
1556776 -- Add-ons Manager [meta] Convert about:addons entirely to HTML [phase 2] RESOLVED FIXED ---
1558073 -- Add-ons Manager Center content in Add-ons page (like other about: pages) RESOLVED INVALID ---
1558823 P3 Add-ons Manager Oriol Brufau [:Oriol] Addons without icon should show something (default addon-icon) VERIFIED FIXED mozilla70
1558982 P2 Add-ons Manager [meta] Remove XUL about:addons RESOLVED FIXED ---
1559788 -- Add-ons Manager Always show the control buttons in about:addons RESOLVED WONTFIX ---
1560759 -- Add-ons Manager Handle addons that have been removed from AMO more gracefully RESOLVED INVALID ---
1562425 P3 Add-ons Manager Emilio Cobos Álvarez (:emilio) [RTL][about:addons] Some icons appear on the wrong side of their container VERIFIED FIXED mozilla70
1564305 P3 Add-ons Manager Add-on recommendation listing name should be linked; not obvious that author link links to the add-on RESOLVED DUPLICATE ---
1564967 -- Add-ons Manager Tom S. (please needinfo tschuster) Context menu entry "Options" and "More options" is confusing VERIFIED FIXED mozilla70
1564991 P3 Add-ons Manager about:addons should have a tabbed UI to make thing easier to find (eg recommendations) NEW ---
1565057 -- Add-ons Manager Bring back some features hidden behind meatball menu for commonly used tasks RESOLVED DUPLICATE ---
1565122 -- Add-ons Manager Missing Options/Preferences Panel with new about:addons UI RESOLVED DUPLICATE ---
1565596 P3 Add-ons Manager [about:addons] Truncate long homepage URLs NEW ---
1565987 P3 Add-ons Manager Context menu ‘Options/Preferences’ entry is displayed only after page refresh NEW ---
1566021 P3 Add-ons Manager Navigating via ‘Tab’ key will get the user stuck in a loop in the details page NEW ---
1610084 P5 Add-ons Manager Page Down and Page Up not immediately usable on about:addons in FF 72 NEW ---

30 Total; 8 Open (26.67%); 15 Resolved (50%); 7 Verified (23.33%);


Testcases

Overview

Summary of testing scenarios

Test Areas

Test Areas Covered Details
Installing from AMO
Installing from local files
Installing from thirdparty
Add-on updates
Sideloading
Other

Test suite

Bug Work

Tracking bug - []

Bug fix verification

[Verified] [ Bug xxxxxxx] - Display permissions prompt for webextensions installed using mozAddonManager

2017-01-10: verified fixed on 53.0a1 across platforms

[Verified] [ Bug xxxxxxx] - Prompt users with permissions for third-party webextensions installs

2015-04-21: verified fixed on 53.0a1 across platforms
Logged bugs

[ Bug xxxxxxx] - Misaligned icon and webextension name in permissions doorhanger

Sign off

Criteria

Check list

  • All test cases should be executed
  • Has sufficient automated test coverage (as measured by code coverage tools) - coordinate with RelMan
  • All blockers, criticals must be fixed and verified or have an agreed-upon timeline for being fixed (as determined by engineering/RelMan/QA)

Results

Nightly testing

List of OSes that will be covered by testing

  • Link for the tests run
    • Full Test suite, use template from []


Merge to Beta Sign-off List of OSes that will be covered by testing

  • Link for the tests run
    • Full Test suite

Checklist

Exit Criteria Status Notes/Details
Testing Prerequisites (specs, use cases)
Testing Infrastructure setup
Test Plan Creation 02-14-2019
Test Cases Creation 02-13-2019 N/A
Full Functional Tests Execution
Automation Coverage
Performance Testing
All Defects Logged
Critical/Blockers Fixed and Verified
Metrics/Telemetry
QA Signoff - Nightly Release Email to be sent
QA Beta - Full Testing
QA Signoff - Beta Release Email to be sent