Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
trying firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 31, 2016
1 parent 5869da8 commit 407d04d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ node_js:
- '4'
- '6'
before_script:
- npm prune
- cd test/one; npm install; npm run install-hub
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- npm prune
- cd test/one; npm install; npm run install-hub
- npm run start-hub &
- sleep 3
- cd ../..
script:
- npm test
Expand Down
2 changes: 1 addition & 1 deletion test/one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Parallel-protractor test project one",
"main": "conf.js",
"scripts": {
"install-hub": "webdriver-manager update --standalone",
"install-hub": "webdriver-manager update --standalone --firefox",
"start-hub": "webdriver-manager start",
"test": "protractor conf.js",
"test-in-parallel": "node -r ../.. node_modules/.bin/protractor conf.js"
Expand Down

0 comments on commit 407d04d

Please sign in to comment.