TestEngineering/UI/AMO/AddonUpdates

From MozillaWiki
< TestEngineering‎ | UI
Revision as of 00:39, 13 January 2011 by Krupa (talk | contribs) (Created page with "=Add-on Updates=<br> update.php is what Mozilla apps asks to see if there are add-on updates available. We have migrated it to Python and need to ensure that there are no regres...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

=Add-on Updates=

update.php is what Mozilla apps asks to see if there are add-on updates available. We have migrated it to Python and need to ensure that there are no regressions.


=Settings=

To test the updates on the staging server we need to tweak the settings.

Settings for Firefox 3.6/4.0:

To test update on the staging server, change the following setting in your about:config
extensions.update.url to
https://addons.allizom.org/z/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%

Settings for Fennec:


To test update on the staging server, change the following setting in your about:config
extensions.update.url to


https://addons.allizom.org/z/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%

You need to restart Fennec after changing the update.url

Settings for Thunderbird:

To test update on the staging server, change the following setting in your about:config
extension.update.url to

https://addons.allizom.org/z/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%

Settings for Seamonkey:


To test update on the staging server, change the following setting in your about:config
extension.update.url to

https://addons.allizom.org/z/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%


=Use cases=

testcase 1: Update add-on versions