|
|
| Line 74: |
Line 74: |
| Source | | Source |
| * https://github.com/rpappalax/gaia/tree/fmd-e2e-plus | | * https://github.com/rpappalax/gaia/tree/fmd-e2e-plus |
|
| |
| == End-2-End Test (#2) ==
| |
| FindMyDevice end to end test!. This is what it does:
| |
| * launches desktopB2G and uses marionette.js to sign into FXA and enable FMD, leaves window open
| |
| * launches webdriver to sign into FMD web site with the same FXA acct
| |
| * tells you if your phone was located withing 60 sec (can be changed)
| |
|
| |
| steps to run:
| |
|
| |
| Clone my repo/branch, create a new directory if you already have gaia
| |
| * git clone https://github.com/edmoz/gaia.git
| |
| $ cd gaia
| |
| $ git checkout fmd_e2e
| |
|
| |
| * download selenium stand alone and run it:
| |
| ** http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar
| |
| java -jar selenium-server-standalone-2.42.2.jar
| |
|
| |
| * create a STAGE firefox account user
| |
| ** on desktop go here: https://accounts.stage.mozaws.net , verify the acct with link in your email
| |
| * edit run_fmd.sh with your fxa user:password
| |
| * run
| |
| ./run_fmd.sh
| |
|
| |
| Note: if you get a python failure you may need to install selenium lib for python:
| |
| pip install selenium
| |
|
| |
| Here's the source code:
| |
| * https://github.com/edmoz/gaia/tree/fmd_e2e
| |
|
| |
|
| == QA Flash Steps == | | == QA Flash Steps == |