Features/Desktop/Add-on hotfix/Test Plan: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 29: Line 29:
*We want to speak directly to our users with a one-time marketing message / news flash. We ship an update to the add-on that pops up an infobar with the message and then never shows again
*We want to speak directly to our users with a one-time marketing message / news flash. We ship an update to the add-on that pops up an infobar with the message and then never shows again
*We want to A/B test a UI pref on beta. We ship the add-on to x% of our population or ship it to all Beta users and have the add-on enable functionality x% of the time
*We want to A/B test a UI pref on beta. We ship the add-on to x% of our population or ship it to all Beta users and have the add-on enable functionality x% of the time
== Test Case 1 ==
=== Test Case 1 - installing the add-on ===
====Steps to reproduce====
====Steps to reproduce====
* Start Firefox 10 beta 4 with a new profile
* Start Firefox with a new profile
* In about:config set the following prefs:
* In about:config set the following prefs:
** set '''extensions.hotfix.id''' to '''test-hotfix@mozilla.org'''
** set '''extensions.hotfix.id''' to '''test-hotfix@mozilla.org'''
Line 47: Line 47:
*{{done|}} Windows XP - '''PASS''' - 2012-01-13
*{{done|}} Windows XP - '''PASS''' - 2012-01-13


== Test Case 2 ==
=== Test Case 2 ===
*This test checks that none of the four test add-ons are installed.
*This test checks that none of the four test add-ons are installed.
*You will have to run the steps from below for four times, changing the extension's ID accordingly:
*You will have to run the steps from below for four times, changing the extension's ID accordingly:
Line 56: Line 56:
*Do not install manually.
*Do not install manually.
==== Steps to reproduce====
==== Steps to reproduce====
* Start Firefox 10 beta 4 with a new profile
* Start Firefox with a new profile
* In about:config set the following prefs:
* In about:config set the following prefs:
** set '''extensions.hotfix.id''' to '''test-hotfix-"extension's ID"@mozilla.org'''
** set '''extensions.hotfix.id''' to '''test-hotfix-"extension's ID"@mozilla.org'''
Line 71: Line 71:
*{{done|}} Ubuntu 11.10 x64 - '''PASS''' - 2012-01-16  
*{{done|}} Ubuntu 11.10 x64 - '''PASS''' - 2012-01-16  
*{{done|}} Windows XP - '''PASS''' - 2012-01-16
*{{done|}} Windows XP - '''PASS''' - 2012-01-16
=== Test Case 3 - removing and reinstalling the add-on  ===
==== Steps to reproduce 1 ====
* Start Firefox with a new profile
* In about:config set the following prefs:
** set '''extensions.hotfix.id''' to '''test-hotfix@mozilla.org'''
** set '''extensions.update.interval''' to 10
* Restart Firefox
* After Firefox Hotfix Test 1 is installed, remove it from the Add-ons Manager. Do not restart the browser yet.
====Expected Results====
*The Add-on should get removed with the "undo" function active.
**Pressing the "undo" should keep the add-on installed.
*After Firefox restarts, the add-on should be deleted.
==== Steps to reproduce 2 ====
* Start Firefox with a new profile
* In about:config set the following prefs:
** set '''extensions.hotfix.id''' to '''test-hotfix@mozilla.org'''
** set '''extensions.update.interval''' to 10
* Restart Firefox
* After Firefox Hotfix Test 1 is installed, remove it from the Add-ons Manager and restart Firefox.
* In about:config, reset the pref '''extensions.hotfix.lastVersion'''
* Restart Firefox
====Expected Results====
* After restart, navigate randomly over 10 seconds
* Open Add-ons Manager and '''Firefox Hotfix Test 1''' should be installed
866

edits

Navigation menu