Support/Firefox Features/Clean up user profile/TestPlan: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Clean up user profile =
= Reset Firefox =


{| class="fullwidth-table"
{| class="fullwidth-table"
Line 10: Line 10:
| Status
| Status
|-
|-
| Clean up user profile
| Reset Firefox
| In development
| Partially landed
| Firefox 13
| Firefox 13
| Matt Noorenberghe
| Matt Noorenberghe
| Ioana Budnar
| Ioana Budnar
| In progress
| {{StatusHealthy|status=Signed off}}
|}
|}


== Summary ==
== Summary ==
*This feature provides a way for users to automatically fix Firefox by creating a new profile and migrating their data.  
*This feature provides a way for users to automatically fix Firefox by creating a new profile and migrating their data. It can be accessed three different ways:
 
*The feature can be accessed three different ways:
**When the user attempts to re-install Firefox (same version is already installed), he is offered the option to reset Firefox. Note that the reset process is performed by Firefox, not by the installer.
**When the user attempts to re-install Firefox (same version is already installed), he is offered the option to reset Firefox. Note that the reset process is performed by Firefox, not by the installer.
**After Firefox crashes three consecutive times at start-up, it will offer to either reset Firefox or to start in safe mode.
**After Firefox crashes three consecutive times at start-up, it will offer to either reset Firefox or to start in safe mode.
**The user can open the Troubleshooting Information page (about:support) and click the Reset Firefox button.
**The user can open the Troubleshooting Information page (about:support) and click the Reset Firefox button.
*When the user chooses to reset Firefox, Firefox will:
**Confirm with the user what actions are about to be taken
**Create a new user profile
**Migrate the user data (bookmarks, history, saved passwords, autofill form/search data, cookies, extensions and themes)
**Reset the toolbars and controls
**Reset all the user preferences to Firefox defaults
**Disable all the add-ons and switch to the default theme
**Restart using the new profile.


*Since OS X and Linux don't have installers, there is no way to trigger this process for them upon re-installation. The rest of the cases are valid for them too.
*Since OS X and Linux don't have installers, there is no way to trigger this process for them upon re-installation. The rest of the cases are valid for them too.
Notes:
*Add-ons are not migrated at all yet. - 2012-05-07
*The user's Sync account is not migrated either. - 2012-05-07


== References ==
== References ==
Line 38: Line 49:
== Use Cases ==
== Use Cases ==


*A user determines that "something" is wrong with Firefox, so they attempt to fix it by reinstalling. When the installer detects that the same version of Firefox already exists on the computer it will offer the option to repair Firefox by resetting it to its default state. That intent can be passed on to Firefox and the reset process will be started the next time Firefox starts.
*The user chooses to reset Firefox while re-installing it.
 
*After three consecutive start-up crashes, the user selects the option to reset Firefox.
*After a third consecutive start-up crash, Firefox will offer to either start in safe mode so diagnosis can be done or to reset Firefox to it's default state.
*The user opens about:support, then clicks the Reset Firefox button.
 
*The reset process is started, then it gets cancelled.
*A SUMO article or helper can direct the user to a simple method for repairing Firefox by accessing the Troubleshooting Information page and clicking the Reset Firefox button.
*The user gathers a rich profile then he resets Firefox.
 
*Firefox is opened with a clean profile, then it gets reset.
When the Reset Firefox command is invoked, Firefox will:
*The user starts private browsing, then it resets Firefox.
*Confirm with the user what actions are about to be taken
*Firefox is opened in safe mode, then the user resets it.
*Create a new user profile
*The user manually closes the Firefox process while it's being reset.
*Migrate user data (bookmarks, history, saved passwords, autofill form data, extensions and themes)
*The OS gets restarted while resetting Firefox.
*Reset toolbars and controls
*Firefox is reset multiple consecutive times.
*Reset all user preferences to Firefox defaults
*OS restore after cleaning up a Firefox profile.
*Disable all add-ons and switch to the default theme
*Reset the Firefox profile after restoring the OS.
Then Firefox will restart using the new profile.
*Reset Firefox after updating it from an already reset profile.
*Setup sync, then reset the Firefox profile.


== Test Cases ==
== Test Cases ==


*Test cases for this feature can be viewed [http://bit.ly/A6f1WV here].
*The test cases for this feature can be viewed [http://bit.ly/A6f1WV here].


== Important Bugs ==
== Important Bugs ==
 
<bugzilla>
*[https://bugzilla.mozilla.org/show_bug.cgi?id=294260 294260] - Safe Mode: Auto detect previous start-up failure and offer to start in safe mode
{
"id": "273874, 721265, 717070, 735126, 721242, 731047, 715315, 725904, 732303, 731047"
}
</bugzilla>


== Not Tested ==
== Not Tested ==


*[https://wiki.mozilla.org/index.php?title=Support/Firefox_Features/Clean_install&action=edit&redlink=1 Clean Install] - repair process treated as a separate feature.
*Clean install
*Safe mode
*Firefox migrators outside this feature (import user data from other browsers)


== Sign off Criteria ==
== Sign off ==
;Criteria
*All the test cases were executed.
*All the major bugs have been fixed.


*All test cases were run on the Firefox version the feature is targeted for.
;Sign offs
*All the major bugs have been fixed.
*Firefox 13.0
** UI from safe mode dialog and installer not implemented yet.
**Aurora - 2012-03-19
**Beta 1 - 2012-04-26
**Beta 2 - 2012-05-04
**RC - 2012-06-04

Latest revision as of 15:07, 28 August 2013

Reset Firefox

Feature Status Release Target Dev Lead QA Lead Status
Reset Firefox Partially landed Firefox 13 Matt Noorenberghe Ioana Budnar Signed off

Summary

  • This feature provides a way for users to automatically fix Firefox by creating a new profile and migrating their data. It can be accessed three different ways:
    • When the user attempts to re-install Firefox (same version is already installed), he is offered the option to reset Firefox. Note that the reset process is performed by Firefox, not by the installer.
    • After Firefox crashes three consecutive times at start-up, it will offer to either reset Firefox or to start in safe mode.
    • The user can open the Troubleshooting Information page (about:support) and click the Reset Firefox button.
  • When the user chooses to reset Firefox, Firefox will:
    • Confirm with the user what actions are about to be taken
    • Create a new user profile
    • Migrate the user data (bookmarks, history, saved passwords, autofill form/search data, cookies, extensions and themes)
    • Reset the toolbars and controls
    • Reset all the user preferences to Firefox defaults
    • Disable all the add-ons and switch to the default theme
    • Restart using the new profile.
  • Since OS X and Linux don't have installers, there is no way to trigger this process for them upon re-installation. The rest of the cases are valid for them too.

Notes:

  • Add-ons are not migrated at all yet. - 2012-05-07
  • The user's Sync account is not migrated either. - 2012-05-07

References

Use Cases

  • The user chooses to reset Firefox while re-installing it.
  • After three consecutive start-up crashes, the user selects the option to reset Firefox.
  • The user opens about:support, then clicks the Reset Firefox button.
  • The reset process is started, then it gets cancelled.
  • The user gathers a rich profile then he resets Firefox.
  • Firefox is opened with a clean profile, then it gets reset.
  • The user starts private browsing, then it resets Firefox.
  • Firefox is opened in safe mode, then the user resets it.
  • The user manually closes the Firefox process while it's being reset.
  • The OS gets restarted while resetting Firefox.
  • Firefox is reset multiple consecutive times.
  • OS restore after cleaning up a Firefox profile.
  • Reset the Firefox profile after restoring the OS.
  • Reset Firefox after updating it from an already reset profile.
  • Setup sync, then reset the Firefox profile.

Test Cases

  • The test cases for this feature can be viewed here.

Important Bugs

Full Query
ID Summary Priority Status
273874 Firefox migrator for new profiles -- VERIFIED
715315 Ensure source Firefox profile is not in use during migration -- NEW
717070 Create button to initiate migration to a clean Firefox profile -- VERIFIED
721242 After using Firefox migrator, the password manager sometimes can't decrypt passwords -- VERIFIED
721265 Firefox migrator: form history support -- VERIFIED
725904 Firefox Reset: handle when Sync is set up in source profile -- RESOLVED
731047 Clean up old profile after Firefox profile reset -- VERIFIED
732303 Redesign safe mode dialog with the profile reset option -- VERIFIED
735126 NS_ERROR_FAILURE from GetSelectedProfile if second profile added after non-default -- VERIFIED

9 Total; 1 Open (11.11%); 1 Resolved (11.11%); 7 Verified (77.78%);


Not Tested

  • Clean install
  • Safe mode
  • Firefox migrators outside this feature (import user data from other browsers)

Sign off

Criteria
  • All the test cases were executed.
  • All the major bugs have been fixed.
Sign offs
  • Firefox 13.0
    • UI from safe mode dialog and installer not implemented yet.
    • Aurora - 2012-03-19
    • Beta 1 - 2012-04-26
    • Beta 2 - 2012-05-04
    • RC - 2012-06-04