Mobile/Fennec TestDev

    • NOTE this is a work in progress **


What is TestDev and Fennec

Fennec TestDev is a part of the Fennec project aimed at bringing automation to Fennec specific areas (such as panning, tabs, bookmarks). Automation will be using existing automation frameworks that Firefox uses, but new test cases that are only useful for Fennec.

Areas to focus on

  • Tabs - https://bugzilla.mozilla.org/show_bug.cgi?id=485855
    • Loading and switching between tabs
    • Test maximum tabs? (>4 ?)
    • Slide over and display tab form
    • + button, X button on tab preview
    • Tab focus when adding, closing tab
    • Tab preview (full screen, or any black/white? test with a solid color page)
    • Verify softkeyboard for entering URL on new tab
  • Bookmarks - https://bugzilla.mozilla.org/show_bug.cgi?id=486490
    • Add a bookmark and verifies URI exists
    • Verify panning in the bookmark page
    • Test adding, editing, deleting tags
    • Test adding, moving, editing names, deleting folders
    • Test adding, editing url, editing title, deleting bookmarks
    • Test adding, moving, editing, deleting subfolders
    • Verify editing bookmark via star icon (instead of bookmark icon)
    • Verify clicking on a bookmark loads the web page
    • Verify softkeyboard launches for all text fields
  • Preferences
    • Verify panning of preference list
    • Verify on/off retains state
    • Would be nice to verify core functionality
  • Panning / Zoom
    • Verify panning up, down, left, right on a large page
    • Verify multiple pans on a long page top to bottom to top
    • Verify double tap zooms in and allows panning
    • Verify double tap zooms in, double tap zooms out, and panning still works
  • Download Manager
    • Verify panning in list of downloaded items
    • Verify large amount of items in download list
    • Verify searching (including softkeyboard)
    • Verify clearlist button works as expected
  • Awesome bar / Search providers / History
    • Verify Awesome Bar displays history/bookmarks
    • Verify we can use the search providers that we have by default
    • Verify clear history removes history and retains bookmarks
  • Tel protocol and integrated phone support
    • Verify support of the tel: protocol
    • Verify we send the correct phone number and handle error conditions
  • Notification bar prompts
    • Test Password prompt (remember, yes, no)
    • Test Geolocation prompt (remember, yes, no)
  • Hardkeys on N810
    • Verify Full screen button
    • Verify dpad navigation (up, down, left, right, center)
    • Verify ESC key
  • Hardkeys on HTC Touch Pro
    • Verify screen rotation

Other TestDev related todo's

Clearly define methods for:

  • Excluding test cases from the Firefox tree
  • Creating unique test cases for Fennec that only run on Fennec
  • Follow up on existing Unittest bugs and get resolution (either in workarounds, or fixes)

Types of tests

  • Mochitest
  • Browser-chrome
  • Mochitest-chrome
  • Reftest