B2G Apps Tests

Hosted App Install - No Appcache Preload

Note: Only one of these hosted apps is allowed to be installed at one time.

Hosted App Test Case 1

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified.

Hosted App Test Case 2

App has valid launch path, no icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified.

Hosted App Test Case 3

App has valid launch path, icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. App name, description, and developer name all have Japanese characters and English characters in the fields. A chrome navigation manifest property is also provided.

Hosted App Test Case 4

App has valid launch path, icon specified, web type, and a developer name specified.

Hosted App Test Case 5

App has valid launch path, icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer url specified.

Hosted App Test Case 6

App has valid launch path, icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. The app name and developer name and url are overridden to a localized value if the phone's locale is English. Only one locale override is included.

Hosted App Test Case 7

App has valid launch path, icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. The app name and developer name and url are overridden to a localized value if the phone's locale is English or Portuguese. Two locale overrides are included.

Hosted App Test Case 8

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. The type is privileged. This app should not be able to be installed.

Hosted App Test Case 9

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. The type is certified. This app should not be able to be installed.

Hosted App Test Case 10

App has valid launch path, multiple icons specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. The type is web.

Hosted App Test Case 11

App has valid launch path, an icon, and developer name+url.

Hosted App Test Case 12

App has valid launch path, an icon, developer name+url, web type, and a geolocation permission.

Hosted App Test Case 13

App has valid launch path and an icon.

Hosted App Test Case 14

App has valid launch path, an icon, web type, and geolocation permission.

Hosted App Test Case 15

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is portrait-primary only.

Hosted App Test Case 16

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is landscape-primary only.

Hosted App Test Case 17

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is portrait-secondary only.

Hosted App Test Case 18

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is landscape-secondary only.

Hosted App Test Case 19

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is portrait only.

Hosted App Test Case 20

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Orientation lock is landscape only.

Hosted App Test Case 21

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. Fullscreen is enabled.

Hosted App Test Case 22

App has valid launch path, an icon specified, web type, geolocation, desktop notification, browser, and fmradio permissions called out, and a developer name and url specified.

Hosted App Test Case 23

App has valid launch path, an icon specified, lots of permissions, and a developer name and url specified.

Hosted App Test Case 24

App has invalid launch path, name, description, multiple icons, web type, alarms/geolocation/desktop notification/fmradio perms, and developer name+url.

Hosted App Test Case 25

App is the Tuenti app.

Hosted App Test Case 26

App is the YouTube app.

Hosted App Test Case 27

App is the Where is My Firefox Hosted App

Hosted App Test Case 28

App has valid launch path, an icon specified, web type, geolocation, desktop notification, and fmradio permissions called out, and a developer name and url specified. A redirects property is also specified.

Hosted App Install - Appcache Preloading

Hosted App with Appcache Preloading Test Case 1

App is a hosted app that has a valid launch path, developer name and url, an icon, and a valid small appcache preloaded upon installation of the app.

Hosted App with Appcache Preloading Test Case 2

App is a hosted app that has a valid launch path, developer name and url, an icon, and a valid medium appcache preloaded upon installation of the app.

Hosted App with Appcache Preloading Test Case 3

App is a hosted app that has a valid launch path, developer name and url, an icon, and an invalid appcache preloaded upon installation of the app.

Hosted App with Appcache Preloading Test Case 4

App is a hosted app that has a valid launch path, developer name and url, an icon, and a valid large appcache preloaded upon installation of the app.

Hosted App with Appcache Preloading Test Case 5

App is a hosted app that has a valid launch path, developer name and url, an icon with an invalid path, and a valid medium appcache preloaded upon installation of the app.

Packaged App Install

Packaged App Test Case 1

App is a privileged packaged app that is not signed. Mini-manifest estimates size to be 16 KB. Has a name, valid launch path, icon, device storage pictures permission, contacts permission, and developer name and url.

Packaged App Test Case 2

App is a web packaged app that is not signed. Mini-manifest estimates size to be 10 KB. Has a name, valid launch path, icon, device storage pictures/music/sdcard/videos permissions, contacts permissions, geolocation permissions, desktop notification permissions, fmradio permissions and a developer name and url.

Packaged App Test Case 3

App is a web packaged app that is not signed. Mini-manifest estimates size to be larger than the space on the phone. Has a name, valid launch path, icon, device storage pictures/music/sdcard/videos permissions, contacts permissions, geolocation permissions, desktop notification permissions, fmradio permissions and a developer name and url.

Packaged App Test Case 4

App is a certified packaged app that is not signed. Mini-manifest estimates size to be 16 KB. Has a name, valid launch path, icon, device storage pictures permission, contacts permission, and developer name and url.

Packaged App Test Case 5

App is a web packaged app that is not signed. Mini-manifest estimates size to be 20.467 MB. Has a name, valid launch path, icon, device storage pictures/music/sdcard/videos permissions, contacts permissions, geolocation permissions, desktop notification permissions, fmradio permissions and a developer name and url. Size of actual package is 20.467 MB.

Packaged App Test Case 6

App is a web packaged app that is not signed. Mini-manifest does not specify a size at all. Has a name, valid launch path, icon, device storage pictures/music/sdcard/videos permissions, contacts permissions, geolocation permissions, desktop notification permissions, fmradio permissions and a developer name and url. Size of actual package is 20.467 MB.

Packaged App Test Case 7

App is a web packaged app that is not signed. Mini-manifest estimates size to be 14 KB. Has a name, valid launch path, an icon, web type, geolocation permission, desktop notification permission, fmradio permission, developer name+url, and locale overrides for English and pt-BR for the name and developer name+url values.

Packaged App Test Case 8

App is a web packaged app that is not signed. Mini-manifest estimates size to be 11 KB. Has a name, valid launch path, and developer name+url.

Packaged App Test Case 9

App is a web packaged app that is not signed. Mini-manifest estimates size to be 11 KB. Has a name, valid launch path, and developer name+url. Packaged path points to a zip file that does not exist, so this app will fail to install.

Packaged App Test Case 10

App is a web packaged app that is not signed. Mini-manifest estimates size to be 11 KB. Has a name, valid launch path, and developer name+url. Packaged path points to a file that is not a zip file, so this app will fail to install.

Packaged App Test Case 11

App is a packaged app with an invalid manifest. This app should fail to install.

Packaged App Test Case 12

App is a packaged app with an invalid mini-manifest. This app should fail to install.

Packaged App Test Case 13

App is a web packaged app that is the UI Tests app. Functionality of this app will only work if web permissions allow for the functionality.

Packaged App Test Case 14

App is a web packaged app that has no developer info.

Packaged App Test Case 15

App is a web packaged app that has a name, a bad launch path, an icon, a bunch of permissions, and developer name+url.

Packaged App Test Case 16

App is a privileged app signed with a user cert - this should fail to install.

Packaged App Test Case 17

App is a privileged app signed with a reviewer cert - this should fail to install.

Packaged App Test Case 18

App is the image uploader app in web type form.

Packaged App Test Case 19

App is an audio test app for testing audio in a packaged app.

Packaged App Test Case 20

App is the Poppit app in a web type form.

Packaged App Test Case 21

App is a Notifications Test App for System Messages.

Packaged App Test Case 22

App is the CubeVid Test app.

Packaged App Test Case 23

App is the Menu Test app.

Marketplace Privileged Apps

Apps Permissions

Test page for testing webapi permisisons via the browser

WebAPI Permissions Tests
IFrame WebAPI Permissions

Test hosted app for testing webapi permissions

Test privileged app for testing webapi permissions

Privileged App on Marketplace Dev

Hosted App Updates - Appcache Preloading

Simple Appcache Update

Tests a simple update of the appcache from a very small amount of appcache resources to slightly more. Directions for testing this is below.

  1. Install the hosted app with the button below
  2. Copy the appcache data from state_medium_appcache.appcache into test.appcache
  3. Push the changes to test.appcache to the server
  4. When updates fire, confirm and update the app
  5. Uninstall the app
  6. Copy the appcache data from state_small_appcache.appcache into test.appcache
  7. Push the changes to test.appcache to the server

Large Appcache Update

Tests a simple update of the appcache from a very small amount of appcache resources to a lot more. Directions for testing this is below.

  1. Install the hosted app with the button below
  2. Change the appcache manifest to point to the large appcache instead of the small appcache
  3. Check for updates manually
  4. When updates fire, confirm and update the app
  5. Uninstall the app
  6. Switch the app back to using the old appcache

Packaged App Updates

Simple Packaged App Update

Tests a simple update from one packaged app to another with a slight change and removal of all permissions on the app update.

  1. Install the packaged app with the button below
  2. Switch the mini-manifest to point to state 2
  3. Do a manual sync and update the app
  4. Do your testing to verify the update was applied correctly
  5. Uninstall the app
  6. Revert the mini-manifest to point state 1 of the zip file

Large Packaged App Update

Tests a simple update from one packaged app to another with a slight change and removal of all permissions on the app update and a large change of packaged app size (~17 KB to 20 MB).

  1. Install the packaged app with the button below
  2. Switch the mini-manifest to point to state 2
  3. Do a manual sync and update the app
  4. Do your testing to verify the update was applied correctly
  5. Uninstall the app
  6. Revert the mini-manifest to point state 1 of the zip file