Add-ons/Projects/DiscoveryImprovements: Difference between revisions

Jump to navigation Jump to search
Add test scenarios
(Fix hosts list)
(Add test scenarios)
Line 131: Line 131:


7. Enjoy.
7. Enjoy.
=== Test scenarios in Production ===
Here's a few example test scenarios:
* Installation of an addon should work on production without any banners or special settings. A new profile is required to test this.
* Installation of an theme should work on production without any warning banners or special settings. A new profile is required to test this. Themes do show a banner following installation. Currently the undo button does not update the button - see known issues below.
* Uninstallation of an addon should work in production and the button state should reflect things accordingly.
* Uninstallation of a theme should work in production and the button state should reflect things accordingly.
* Watch the console for CSP errors. A warning re: 'frame-src' being deprecated is OK.
* Google Analytics should be tracking installs and uininstalls. See the network console to see these beacons being sent.
* Locales are changed via the URL. We should see the language change based on the URL language changing. (Ideally this should also be tested by changing the firefox UI locale and trying about:addons).
* Invalid languages in the URL should redirect, this can be tested directly in the browser URL bar. Here's some examples:
** '''/whatever/firefox/discovery/pane/46.0.1/Darwin/normal''' should redirect to '''/en-US/firefox/discovery/pane/46.0.1/Darwin/normal'''
** '''/ac%2fdc/firefox/discovery/pane/46.0.1/Darwin/normal''' should redirect to '''/en-US/firefox/discovery/pane/46.0.1/Darwin/normal'''
** '''/pt/firefox/discovery/pane/46.0.1/Darwin/normal''' should redirect to '''/pt-PT/firefox/discovery/pane/46.0.1/Darwin/normal'''


== Known Issues ==
== Known Issues ==

Navigation menu