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

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
= Product-details.php =
= Product-details.php =
* Location - [http://svn.mozilla.org/libs/product-details/firefoxDetails.class.php http://svn.mozilla.org/libs/product-details/firefoxDetails.class.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] (I think)
* 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 35: Line 35:
* [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=
Line 53: Line 54:
*** Opera (latest version)
*** Opera (latest version)
*** IE 6, 7, 8
*** 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 =
= SiteSpect - configs used for multi-variate testing =
HOSTS tweak:<br>63.245.209.10 sitespect.mozilla.com<br>
HOSTS tweak:<br>63.245.209.10 sitespect.mozilla.com<br>
63.245.209.10 www.mozilla.com
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