QA/Execution/Web Testing/Mozilla.com/Tips and Pointers
From MozillaWiki
< QA | Execution | Web Testing
Contents
- 1 Setup: Mozilla.com has a three-tier system:
- 2 Product-details.php
- 3 Relationship of What's New & First Run pages
- 4 Redirects / user-agent detection
- 5 Important Pages (mostly in-product)
- 6 Download.html
- 7 Video pages
- 8 Testing Add-ons' inclusion on Mozilla.com
- 9 SiteSpect - configs used for multi-variate testing
Setup: Mozilla.com has a three-tier system:
Fixes are usually checked into SVN, and trunk pulls from SVN almost instantaneously; once changes are tested and verified, they can be pushed to staging; alternatively, they can be pushed to both staging and production if need be.
- Production runs on a CDN - EdgeCast; pretty static site, so this *shouldn't* affect anything -- if images/JS/CSS don't load on prod, it might be them
Product-details.php
- Location - http://svn.mozilla.org/libs/product-details/firefoxDetails.class.php
- What it does: controls the Firefox version that appears on the dynamic, green "Download Firefox" buttons, and the latest branch release versions on all.html and all-older.html, and all-beta.html
Relationship of What's New & First Run pages
- Freshly installed Firefox, you get:
- First Run (left tab focused/active)
- Firefox start page on Google.com (right tab)
- 3.0.x -> 3.5.x, you get:
- First Run (left tab)
- What's New (right tab focused/active)
- 3.0.x-1 (next-to-latest version) -> 3.0.x (latest version)
- Firefox start page on Google.com (left tab)
- What's New page (right focused/active)
Redirects / user-agent detection
- Redirects:
- Most redirects happen in .htaccess (302s, usually)
- User-agent detection:
- Usually uses RewriteCond rules
Important Pages (mostly in-product)
- What's New - only need to be tested with _that_ version of _Firefox_; no other browser (all platforms, of course)
- First Run - ditto; see above
- Firefox Central
- Release Notes
- Firefox Releases listing page
Download.html
- FULL (takes product, OS, lang parameters): http://www.mozilla.com/en-US/products/download.html?product=firefox-3.5&os=osx&lang=en-US
- Supported products are:
- firefox
- maemo
- thunderbird
- Supported products are:
- FLAT (if anything is missing you, such as http://www.mozilla.com/en-US/products/download.html?product=firefox-3.5, you get a "flat" page with links to all platform builds
Video pages
- Pages with video should be checked with Flash -and- OGG-capable browsers (with fallback in most cases)
- e.g. http://www.mozilla.com/en-US/firefox/video/
- Test with
- Firefox 3.0.x, Firefox 3.5.x, 3.6
- Safari (latest version)
- Google Chrome (latest version)
- Opera (latest version)
- IE 6, 7, 8
Testing Add-ons' inclusion on Mozilla.com
- Ensure that they have a src= parameter, when used on First Run / What's New pages (and maybe /central, in the future?) -- check with Justin Scott, when in doubt
SiteSpect - configs used for multi-variate testing
HOSTS tweak:
63.245.209.10 sitespect.mozilla.com
63.245.209.10 www.mozilla.com