1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00
OpenSTF/README.md
Gunther Brunner 30bbf430d3 - Forked gulp-protractor .
Changes:
 - Added debug support
 - Added suites support
 - Added element explorer support
2014-08-27 16:36:37 +09:00

816 B

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