testing/tps/README

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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