Skip to content

Commit

Permalink
Upgrade UI test dependencies
Browse files Browse the repository at this point in the history
- Upgraded `chromedriver` to latest compatible version according to chrome version.
- Upgraded peer webdriver dependencies.
- Reduced "noise" in test cases (removed unneeded logging, and deprecation warnings).

Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Jan 16, 2019
1 parent 260d794 commit b67c017
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 189 deletions.
9 changes: 6 additions & 3 deletions examples/browser/wdio.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function makeConfig(headless) {
sync: true,
//
// Level of logging verbosity: silent | verbose | command | data | result | error
logLevel: 'result',
logLevel: 'error',
//
// Enables colors for log output.
coloredLogs: true,
Expand All @@ -103,6 +103,9 @@ function makeConfig(headless) {
// Saves a screenshot to a given path if a command fails.
screenshotPath: './errorShots/',
//
// Dismiss deprecation warning messages when running tests.
deprecationWarnings: false,
//
// Set a base URL in order to shorten url command calls. If your url parameter starts
// with "/", then the base url gets prepended.
baseUrl: `http://${host}:${port}`,
Expand Down Expand Up @@ -145,14 +148,14 @@ function makeConfig(headless) {
javaArgs: ["-Xmx1024m", "-Djna.nosys=true"],
drivers: {
chrome: {
version: '2.33'
version: '2.35'
}
}
},
seleniumInstallArgs: {
drivers: {
chrome: {
version: '2.33'
version: '2.35'
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"typedoc": "^0.13.0",
"typescript": "^3.1.3",
"uuid": "^3.1.0",
"wdio-mocha-framework": "0.5.9",
"wdio-selenium-standalone-service": "0.0.8",
"wdio-spec-reporter": "0.1.0",
"webdriverio": "4.9.2"
"wdio-mocha-framework": "0.5.13",
"wdio-selenium-standalone-service": "0.0.12",
"wdio-spec-reporter": "0.1.5",
"webdriverio": "4.14.1"
},
"scripts": {
"prepare": "yarn prepare:travis && yarn prepare:hoisting && yarn rebuild:clean && yarn build:clean",
Expand Down
Loading

0 comments on commit b67c017

Please sign in to comment.