1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00
Android remote access
Find a file
Gunther Brunner f73cac8b24 Revert "Fix canvas rotation being off on devices which are naturally landscape."
Regressions:
1) Flicker badly in Chrome
2) Image gets very blurry because the image is uploaded to the GPU and there are rounding errors
3) Resizing is not smooth again

This needs another way of fixing.

This reverts commit 9fc1a9c7939b9f464c87a2f99cb06000f5aedcbc.
2014-09-11 20:59:17 +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 Added Xperia Z2 Tablet support. 2014-09-10 21:16:55 +09:00
res Revert "Fix canvas rotation being off on devices which are naturally landscape." 2014-09-11 20:59:17 +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 a fairly bad memory leak in the remote screen API endpoint. 2014-09-05 22:42:43 +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
.jscsrc Added JSCS style checking. 2014-09-09 16:28:00 +09:00
.jshintrc Add a separate .jshintrc for client-side code. 2014-05-13 16:10:56 +09:00
.npmignore Add prepublish script. 2014-09-10 20:38:50 +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 Angular gettext is broken in 1.1.0. Reverting to 1.0.1. 2014-09-11 20:59:07 +09:00
Dockerfile Add stf bin dir to PATH. 2014-08-05 13:50:02 +09:00
gulpfile.js Add prepublish script. 2014-09-10 20:38:50 +09:00
README.md - Forked gulp-protractor . 2014-08-27 16:36:37 +09:00
webpack.config.js Added JSCS style checking. 2014-09-09 16:28:00 +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