1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00
Android remote access
Find a file
2014-09-05 15:32:21 +09:00
bin Apparently Linux doesn't allow multiple arguments in shebang. Removing --harmony flag as it's currently unused anyway, and switching to Promise.longStackTraces(). 2014-01-30 13:52:10 +09:00
buildpack Attempt to work around npm/npm#5400. 2014-08-05 17:38:58 +09:00
doc Separate websocket to its own role. Necessary because the app was getting pretty big already, but mostly because our Windows PCs don't like to connect to websockets on port 80, which is what we use for the app. 2014-06-06 15:02:29 +09:00
lib Remove unused errors and make STF error codes match Android error codes better. 2014-09-05 14:00:51 +09:00
res Update bluebird because the deprecated features are still available. Use same bluebird in browser. 2014-09-05 15:32:21 +09:00
test Fix major oversight in MessageStream that was causing multi-chunk messages to fail. 2014-04-01 17:54:31 +09:00
vendor Fix uninstallable STFService due to testOnly flag. 2014-09-04 11:53:04 +09:00
.editorconfig Minimal start with a custom logger and device tracker. 2014-01-07 10:55:41 +09:00
.gitignore - Refactored device button states so they can be tested. 2014-08-27 21:44:19 +09:00
.jshintrc Add a separate .jshintrc for client-side code. 2014-05-13 16:10:56 +09:00
.npmignore Update ignore files. Lines are sorted alphabetically. 2014-05-12 11:12:07 +09:00
.npmrc Add mostly working custom node and bower buildpacks. 2014-07-30 16:54:52 +09:00
.yo-rc.json Adding brand new generator-stf 2014-03-18 21:31:01 +09:00
bower.json Update bluebird because the deprecated features are still available. Use same bluebird in browser. 2014-09-05 15:32:21 +09:00
Dockerfile Add stf bin dir to PATH. 2014-08-05 13:50:02 +09:00
gulpfile.js Unit tests now pass. 2014-09-04 16:19:58 +09:00
README.md - Forked gulp-protractor . 2014-08-27 16:36:37 +09:00
webpack.config.js Update bluebird because the deprecated features are still available. Use same bluebird in browser. 2014-09-05 15:32:21 +09:00

STF

Requirements

  • NodeJS
  • Bower
  • RethinkDB

Install

  • brew install rethinkdb
  • Make internal npm work
  • brew install protobuf
  • brew install zmq
  • npm install -g bower
  • npm install
  • bower install
  • npm link

Run

  • rethinkdb
  • stf local

Update

  • git pull
  • npm install
  • bower install

Tests

Unit Frontend

  • brew install phantomjs
  • gulp karma

E2E Frontend

On first run

  • gulp webdriver-update

Chrome Local STF

  • Connect a device
  • Run stf
  • gulp protractor

Multiple Browsers Local STF with a specific suite

  • Connect a device
  • Run stf
  • gulp protractor --multi --suite devices

Chrome Remote STF

  • export STF_URL='http://stf-url/#!/'
  • export STF_USERNAME='user'
  • export STF_PASSWORD='pass'
  • gulp protractor