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
2015-06-02 16:14:39 +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 Looks like the DB needs ready: false on device absence or plugged in devices show up as immediately available. That's a bug, will need to investigate later. 2015-06-02 16:14:39 +09:00
res Don't group onmessage inside onopen. Looks like we may lose a message that way (causing the initial load in production to sometimes fail to display the screen), although there is no time to properly test it right now. 2015-04-30 22:15:04 +09:00
test Add a test to verify that older entries get dropped from TtlSet. 2015-06-02 15:56:39 +09:00
vendor Update minicap for 4.4. Should fix isai VL, AQUOS SERIE mini and others while keeping ASUS devices working. 2015-05-01 00:08:14 +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 Updated most dependencies. 2015-03-17 21:16:26 +09:00
Dockerfile Update node. 2015-04-28 13:57:31 +09:00
gulpfile.js Dependencies updated. 2014-10-16 15:09:40 +09:00
README.md Updated README. 2015-03-09 21:24:55 +09:00
webpack.config.js Updated lot's of dependencies. 2015-01-21 15:53:09 +09:00

STF

=== STF (Smartphone Test Farm) is a service for remotely debugging real smartphone devices from the comfort of your browser.

Features

  • Support Android devices from 2.3 to 5.0
  • Fast device screen transfer
  • Remote mouse and keyboard input
  • Multitouch support
  • Browse to URL
  • Auto-detect installed browsers
  • Realtime logging and filtering
  • Copy and Paste text
  • APK Upload by drag & drop
  • Screen rotation
  • Search devices on your own devices farm
  • See who is using which device
  • Execute shell commands directly
  • Remote debug for native and web apps
  • Chrome remote debug tools
  • Automated Play Store user input
  • Reverse port forwarding for development
  • Device hardware specific information

Getting started

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

Requirements

  • NodeJS
  • Bower
  • RethinkDB

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

Contributing

License

Main repository

Small repositories

Documentation

Copyright © CyberAgent, Inc. All Rights Reserved.