QA/Execution/Web Testing/Mozilla.com/Tips and Pointers: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Staging/Production setup: Mozilla.com has a three-tier system:=
= Setup: Mozilla.com has a three-tier system:=


* [https://www-trunk.stage.mozilla.com/ trunk]
* [https://www-trunk.stage.mozilla.com/ trunk]
Line 6: Line 6:


Fixes are usually checked into [http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/ 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.
Fixes are usually checked into [http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/ 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 - [http://www.edgecast.com/ 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 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 [http://www.mozilla.com/en-US/firefox/all.html all.html] and [http://www.mozilla.com/en-US/firefox/all-older.html all-older.html], and [http://www.mozilla.com/en-US/firefox/all-beta.html all-beta.html]


=Relationship of What's New & First Run pages=
=Relationship of What's New & First Run pages=
Line 23: Line 29:
* User-agent detection:
* User-agent detection:
** Usually uses RewriteCond rules
** Usually uses RewriteCond rules
= SiteSpect - configs used for multi-variate testing =
HOSTS tweak:<br>63.245.209.10 sitespect.mozilla.com<br>
63.245.209.10 www.mozilla.com


=Important Pages (mostly in-product)=
=Important Pages (mostly in-product)=
* [http://www.mozilla.com/en-US/firefox/3.5.4/whatsnew What's New]
* [http://www.mozilla.com/en-US/firefox/3.5.4/whatsnew What's New] - only need to be tested with _that_ version of _Firefox_; no other browser (all platforms, of course)
* [http://www.mozilla.com/en-US/firefox/3.5.4/firstrun First Run]
* [http://www.mozilla.com/en-US/firefox/3.5.4/firstrun First Run] - ditto; see above
* [http://www.mozilla.com/en-US/firefox/central/ Firefox Central]
* [http://www.mozilla.com/en-US/firefox/central/ Firefox Central]  
* [http://www.mozilla.com/en-US/firefox/3.5.4/releasenotes/ Release Notes]
* [http://www.mozilla.com/en-US/firefox/3.5.4/releasenotes/ Release Notes]
* [http://www.mozilla.com/en-US/firefox/releases/ Firefox Releases listing page]


=Download.html=
=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
* 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
* 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
* 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


Line 41: Line 48:
* Pages with video should be checked with Flash -and- OGG-capable browsers (with fallback in most cases)
* 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/
** e.g. http://www.mozilla.com/en-US/firefox/video/
** Make sure to test Safari 3 and 4, too
** 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:<br>63.245.209.10 sitespect.mozilla.com<br>
63.245.209.10 www.mozilla.com

Latest revision as of 23:24, 10 February 2010

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

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)

Download.html

Video pages

  • Pages with video should be checked with Flash -and- OGG-capable browsers (with fallback in most cases)

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