mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 05:15:17 +02:00
fcc3de0e56b3d48385f66bb333a89eeb81a228a3
Removing picturefill dependency. Since it's a progressive enhancement, we can ignore old browsers by using standard srcset attribute.
STF
Requirements
- NodeJS
- Bower
- RethinkDB
Install
brew install rethinkdb- Make internal npm work
brew install protobufbrew install zmqnpm install -g bowernpm installbower installnpm link
Run
rethinkdbstf local
Update
git pullnpm installbower install
Tests
Unit Frontend
brew install phantomjsgulp 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
Description
Languages
JavaScript
83.6%
Pug
10.7%
CSS
3.7%
SCSS
1.2%
Dockerfile
0.6%
Other
0.1%