TestEngineering/UI/AMO/AddonBlocklisting: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "=== Blocklisting === <br> <br> === Settings<br> === To test the updates on the staging server we need to tweak the settings at about:config Change extensions.blocklist.u...")
 
Line 32: Line 32:
'''testcase 5: Check blocklisting an add-on for specific Firefox version'''
'''testcase 5: Check blocklisting an add-on for specific Firefox version'''


'''testcase 5: Check that specified Firefox version range is honored for a hardblocked extension'''
'''testcase 6: Check that specified Firefox version range is honored for a hardblocked extension'''


'''testcase 5: Check that specified Firefox version range is honored for a hardblocked extension'''
'''testcase 7: Check that specified Firefox version range is honored for a hardblocked extension'''




'''testcase 6: Check blocklisting an add-on for specific platform/operating system'''  
'''testcase 8: Check blocklisting(hardblock) an add-on for specific platform/operating system'''  




'''testcase 6: Check blocklisting an add-on for specific platform/operating system'''  
'''testcase 9: Check blocklisting(hardblock) an add-on for specific platform/operating system'''  


*Pick an add-on with an unreviewed latest version.
'''testcase 10: Install a blocklisted (softblock) extension '''
*Install the previous version of that add-on
*Tools-&gt; Add-ons --&gt;Click on “Find Updates” in the add-ons manager
*Check that there are no updates


'''testcase 7: Check that there are no updates for unreviewed add-ons'''


*Pick an add-on with multiple unreviewed versions
*Install an older version
*Tools-&gt; Add-ons --&gt;Click on “Find Updates”
*No updates


'''testcase 8: Check that no updates are offered if the newer version is incompatible with user's browser version/platform'''
'''testcase 11: Verify that installing blocklisted(softblock) version of an add-on fails'''


*Pick an add-on with an incompatible latest version
*Install an older version and restart
*Tools-&gt; Add-ons --&gt;Click on “Find Updates”
*No updates are offered


'''testcase 9: Check for platform compatibility'''


*Pick an add-on which has version (b-n) compatible with the test platform and version b not supported on your platform/OS
'''testcase 12: Verify that only the specified add-on version is blocked(softblock) '''
*Install version (b-n) and restart
*Tools-&gt; Add-ons --&gt;Click on “Find Updates”
*No updates are offered


'''testcase 10: admin disabled add-on versions'''
* Install an older version of the test add-on
* Admin-disable the latest version of that add-on
* Check for updates
* Ensure that no updates are offered


'''testcase 11: Downgrading add-on versions'''
'''testcase 13: Check that installed add-on is disabled when blocklisted (softblock)'''
* Install the latest version of an add-on
 
* Admin-disable that version
'''testcase 14: Check blocklisting(softblock) an add-on for specific Firefox version'''
* Check for updates
 
* Previous version of the add-on is offered
'''testcase 15: Check that specified Firefox version range is honored for a softlocked extension'''
 
'''testcase 16: Check that specified Firefox version range is honored for a softblocked extension'''
 
 
'''testcase 17: Check blocklisting(softblock) an add-on for specific platform/operating system'''
 
 
'''testcase 18: Check blocklisting(softblock) an add-on for specific platform/operating system'''
'''testcase 19: Check blocklisting a language pack'''
'''testcase 20: Check blocklisting a dictionary'''
'''testcase 21: Check blocklisting a theme''' 
=== Plugin Blocklisting ===
=== Graphics Blocklisting ===
 


'''testcase 12: Deleting beta channel'''
* Install the beta version of an add-on
* Ensure that there is a newer public version for that add-on
* Delete all beta versions
* Check for updates
* Ensure that the latest public version of the add-on is offered


'''testcase 13: Check updates for lite reviewed add-on'''
* Install an older version of a lite reviewed add-on
* Check for updates
* Ensure that the latest prelim reviewed add-on is offered in updates


'''testcase 14: Check updates for public add-on'''
* Install an older version of a public add-on
* Check for updates
* Ensure that the latest public add-on is offered in updates


'''testcase 15: Only public versions are offered as updates'''
* Install an older version of a public add-on
* Grant lite review to the newer version of that add-on
* Check for updates
* Ensure that there are no updates.


'''testcase 16: Updates for a lite+nominated add-on'''
* Install an older version of a lite+nominated add-on
* Grant lite review to the newer version of that add-on
* Check for updates
* Ensure that there are no updates.




<br> <br>
<br> <br>

Revision as of 05:29, 25 May 2011

Blocklisting



Settings

To test the updates on the staging server we need to tweak the settings at about:config

Change extensions.blocklist.url to https://addons.allizom.org/z/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/


Usecase Scenarios:

Extension Blocklisting

testcase 1: Install a blocklisted (hardblock) extension


testcase 2: Verify that installing blocklisted(hardblock) version of an add-on fails


testcase 3: Verify that only the specified add-on version is blocked(hardblock)


testcase 4: Check that installed add-on is disabled when blocklisted (hardblock)

testcase 5: Check blocklisting an add-on for specific Firefox version

testcase 6: Check that specified Firefox version range is honored for a hardblocked extension

testcase 7: Check that specified Firefox version range is honored for a hardblocked extension


testcase 8: Check blocklisting(hardblock) an add-on for specific platform/operating system


testcase 9: Check blocklisting(hardblock) an add-on for specific platform/operating system

testcase 10: Install a blocklisted (softblock) extension


testcase 11: Verify that installing blocklisted(softblock) version of an add-on fails


testcase 12: Verify that only the specified add-on version is blocked(softblock)


testcase 13: Check that installed add-on is disabled when blocklisted (softblock)

testcase 14: Check blocklisting(softblock) an add-on for specific Firefox version

testcase 15: Check that specified Firefox version range is honored for a softlocked extension

testcase 16: Check that specified Firefox version range is honored for a softblocked extension


testcase 17: Check blocklisting(softblock) an add-on for specific platform/operating system


testcase 18: Check blocklisting(softblock) an add-on for specific platform/operating system testcase 19: Check blocklisting a language pack testcase 20: Check blocklisting a dictionary testcase 21: Check blocklisting a theme

Plugin Blocklisting

Graphics Blocklisting