testing/tps/README

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 TPS is a test automation framework for Firefox Sync. See
     2 https://developer.mozilla.org/en/TPS for documentation.
     4 Installation
     5 ============
     7 TPS requires several packages to operate properly. To install TPS and
     8 required packages, use the INSTALL.sh script, provided:
    10   ./INSTALL.sh /path/to/create/virtualenv
    12 This script will create a virtalenv and install TPS into it. TPS can then
    13 be run by activating the virtualenv and executing:
    15   runtps --binary=/path/to/firefox
    18 Configuration
    19 =============
    20 To edit the TPS configuration, do not edit config/config.json.in in the tree.
    21 Instead, edit config.json inside your virtualenv; it will be located at
    22 something like:
    24   (linux): /path/to/virtualenv/lib/python2.6/site-packages/tps-0.2.40-py2.6.egg/tps/config.json
    25   (win): /path/to/virtualenv/Lib/site-packages/tps-0.2.40-py2.6.egg/tps/config.json
    28 Setting Up Test Accounts
    29 ========================
    31 Firefox Accounts
    32 ----------------
    33 To create a test account for using the Firefox Account authentication perform the
    34 following steps:
    36 1. Go to a URL like http://restmail.net/mail/%account_prefix%@restmail.net
    37 2. Go to https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v1
    38 3. Sign in with the previous chosen email address and a password
    39 4. Go back to the Restmail URL, reload the page
    40 5. Search for the verification link and open that page
    42 Now you will be able to use your setup Firefox Account for Sync.

mercurial