Confirmed users
964
edits
No edit summary |
|||
| Line 32: | Line 32: | ||
ring, lost mode, erase all work as expected. | ring, lost mode, erase all work as expected. | ||
== End 2 End Test == | |||
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 | |||
== QA Flash Steps == | == QA Flash Steps == | ||