Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
Fixing okta-vue test failures on travis (#142)
Browse files Browse the repository at this point in the history
* Fixing okta-vue test failures on travis

* Updating chrome options in nightwatch config

* Using xvfb to run browser tests
  • Loading branch information
vijetmahabaleshwar-okta authored Mar 9, 2018
1 parent f8e1100 commit a7db9f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ install:

before_install:
- "npm install -g npm@5.6.0"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1
2 changes: 1 addition & 1 deletion packages/okta-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prestart": "npm run build",
"pretest": "npm run build && npm run build:harness",
"prepublish": "npm run build",
"test": "if [ -z $TRAVIS ]; then npm run --prefix test/e2e/harness/ test; else exit 0; fi",
"test": "npm run --prefix test/e2e/harness/ test",
"start": "npm run --prefix test/e2e/harness/ start",
"build": "rimraf dist/ && cross-env NODE_ENV=production webpack --config webpack.config.js --output-library-target=umd -p",
"build:harness": "npm --prefix test/e2e/harness install",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ module.exports = {
}
},

request_timeout_options: {
"timeout": 300000, //5 mins
"retry_attempts": 5 // 5 attempts after each timeout of the request
},

test_settings: {
default: {
selenium_port: 4444,
Expand Down

0 comments on commit a7db9f6

Please sign in to comment.