QA/Firefox3.6/TestPlan:Personas Uplift: Difference between revisions

From MozillaWiki
< QA
Jump to navigation Jump to search
Line 39: Line 39:
** show icon and preview of the personas theme in addons manager - AMO work: update preview and icon in the themes manager of personas   
** show icon and preview of the personas theme in addons manager - AMO work: update preview and icon in the themes manager of personas   
** select "wear this" on AMO, and will update the theme to addons manager. User can update personas from AMO as well as theme manager  
** select "wear this" on AMO, and will update the theme to addons manager. User can update personas from AMO as well as theme manager  
** If uninstalling theme from Addons manager, it will dissapear from the theme manager, and restore the default theme.  
** If uninstalling theme from Addons manager, it will disappear from the theme manager, and restore the default theme.  
** Q: Do we show individual persona themes in Get Addons manager?
** Test against Aero Glass on vista. How will it look? (not supported)
** Test against Aero Glass on vista. How will it look? (not supported)
** Post 1.9.2: {{bug|518468}}:
*** There may be a notification dropdown to allow user to uninstall theme and revert to old theme


;Light weight persona examples
;Light weight persona examples

Revision as of 18:18, 29 September 2009

Personas Lightweight Theme Uplift Test Plan

  • Development Status: - In progress (first week of sept to land changes)
  • Feature Testing: - In progress (Fx3.6 work)
  • Team:
 Developer: Dao, Mossop  
 QA: tchung, juanb, Community Volunteer...

Overview

Integrating lightweight themes into the theme manager for 3.6. The user will be able to update personas themes directly from AMO, and change themes without having to restart firefox. Theme manager will be used to track the 8 most recently used personas themes.

Things We Test

  • Browser Chrome Tests
  • Manual Tests
  • Mozmill (if time permits)

Things We Don't Test

  • work on AMO (webdev qa to test)
  • The range of themes offered by the designer

Test Cases (Draft)

  • get themes link in addons manager > themes - link goes to amo page, likely themes
  • installs on top of default theme
  • no restart requred - if using a custom theme, then restart is required.
  • prefnames:
    • lightweightThemes.isThemeSelected
    • lightweightThemes.usedThemes
  • Recently used themes applied Test: Anything on the Personas background (uses the personas text color) light color font will have a dark shadow and vice versa
  • Test more for the gray colors (edge cases)
    • Example: ALL 777 theme
  • Test in Full screen mode
  • Customize toolbar
    • Add multiple icons to expand the toolbar. Verify themes expands to all of the theme area shown
  • Include a user whitelisted site. (getpersonas.com, addons.mozilla.com will be whitelisted by default)
  • Addons manager
    • Personas shows up in the list after being applied instantaneously
    • currently, personas uses cache on shutdown. this may cause slow to shut down. Working on alternative fix for this.
    • an option is to clear the cache on shutdown, so on startup, the image isnt there and can slow performance
    • max of 8 persona themes listed in addons manager > themes - test applying, removing, using themes
    • show icon and preview of the personas theme in addons manager - AMO work: update preview and icon in the themes manager of personas
    • select "wear this" on AMO, and will update the theme to addons manager. User can update personas from AMO as well as theme manager
    • If uninstalling theme from Addons manager, it will disappear from the theme manager, and restore the default theme.
    • Test against Aero Glass on vista. How will it look? (not supported)
    • Post 1.9.2: bug 518468:
      • There may be a notification dropdown to allow user to uninstall theme and revert to old theme
Light weight persona examples
  • Evaluate these js into your error console:
    • Example 1: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {id:"2538",name:"LOLFace",dominantColor:"#6b6b6b",textColor:"white",headerURL:"LOL.png",footerURL:"LOL2.png"}
    • Example 2: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"34365","name":"A Web Browser Renaissance","author":"Sean Martell","description":"Within the web today, a browsing transformation is underway. We’re seeing constant advancement from the static browsing Middle Ages of old and the ushering in of a new Modern Era of openness, speed and security. Taking advantage of all the glorious advancements this new era has to offer has never been easier with the newly relased Firefox 3.5!","dominantColor":"#f2d9b1","textColor":"#000000","headerURL":"ff35_header7.jpg","footerURL":"ff35_footer10.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/34365"}
    • Example 3: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"51","name":"Viva","author":"Sean Martell","description":"","dominantColor":"#ffffff","textColor":"#000000","headerURL":"tbox-viva.jpg","footerURL":"stbar-viva.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/51"}
    • Example 4: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"2635","name":"Mozilla Firefox","author":"CoreXE","description":"Just a Firefox Persona. :D","dominantColor":"#ffffff","textColor":"#ffffff","headerURL":"firefox_header.jpg","footerURL":"firefox_footer.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/2635"}
    • Example 5: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"31870","name":"Containment","author":"Digital Blasphemy","description":"Firefox Persona version of my \"Containment\" wallpaper, available at http://www.digitalblasphemy.com/","dominantColor":"#bad6ff","textColor":"#ffffff","headerURL":"containmenthead.jpg","footerURL":"containmentfooter.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/31870"}
    • Example 6: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"39","name":"Minefield","author":"Mozilla","description":"","dominantColor":"#ffffff","textColor":"#000000","headerURL":"tbox-minefield.jpg","footerURL":"stbar-minefield.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/39"}
    • Example 7: Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {"id":"3469","name":"Abstract Black","author":"Protoss4898","description":"","dominantColor":"#050505","textColor":"#050505","headerURL":"Abstract2.jpg","footerURL":"Abstract2Footer.jpg","previewURL":"preview.jpg","homepageURL":"http://getpersonas.com/persona/3469"}
  • To rollback to default,
 Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = null

Reference