@wdio/cli 5.22.4 → 5.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@ const runConfig = async function (useYarn, yes, exit) {
81
81
 
82
82
  console.log('\nPackages installed successfully, creating configuration file...');
83
83
 
84
- const parsedAnswers = _objectSpread({}, answers, {
84
+ const parsedAnswers = _objectSpread(_objectSpread({}, answers), {}, {
85
85
  runner: answers.runner.short,
86
86
  framework: answers.framework.short,
87
87
  reporters: answers.reporters.map(({
@@ -58,7 +58,7 @@ const handler = async argv => {
58
58
  const execMode = _utils.hasWdioSyncSupport ? {
59
59
  runner: 'repl'
60
60
  } : {};
61
- const client = await (0, _webdriverio.remote)(_objectSpread({}, argv, {}, caps, {}, execMode));
61
+ const client = await (0, _webdriverio.remote)(_objectSpread(_objectSpread(_objectSpread({}, argv), caps), execMode));
62
62
  global.$ = client.$.bind(client);
63
63
  global.$$ = client.$$.bind(client);
64
64
  global.browser = client;
package/build/launcher.js CHANGED
@@ -131,7 +131,8 @@ class Launcher {
131
131
  seleniumServer: {
132
132
  hostname: config.hostname,
133
133
  port: config.port,
134
- protocol: config.protocol
134
+ protocol: config.protocol,
135
+ path: config.path
135
136
  }
136
137
  });
137
138
  }
package/build/utils.js CHANGED
@@ -226,21 +226,21 @@ function getCapabilities(arg) {
226
226
 
227
227
  if (/.*\.(apk|app|ipa)$/.test(arg.option)) {
228
228
  return {
229
- capabilities: _objectSpread({
229
+ capabilities: _objectSpread(_objectSpread({
230
230
  app: arg.option
231
- }, arg.option.endsWith('apk') ? _constants.ANDROID_CONFIG : _constants.IOS_CONFIG, {}, optionalCapabilites)
231
+ }, arg.option.endsWith('apk') ? _constants.ANDROID_CONFIG : _constants.IOS_CONFIG), optionalCapabilites)
232
232
  };
233
233
  } else if (/android/.test(arg.option)) {
234
234
  return {
235
- capabilities: _objectSpread({
235
+ capabilities: _objectSpread(_objectSpread({
236
236
  browserName: 'Chrome'
237
- }, _constants.ANDROID_CONFIG, {}, optionalCapabilites)
237
+ }, _constants.ANDROID_CONFIG), optionalCapabilites)
238
238
  };
239
239
  } else if (/ios/.test(arg.option)) {
240
240
  return {
241
- capabilities: _objectSpread({
241
+ capabilities: _objectSpread(_objectSpread({
242
242
  browserName: 'Safari'
243
- }, _constants.IOS_CONFIG, {}, optionalCapabilites)
243
+ }, _constants.IOS_CONFIG), optionalCapabilites)
244
244
  };
245
245
  }
246
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "5.22.4",
3
+ "version": "5.23.0",
4
4
  "description": "WebdriverIO testrunner command line interface",
5
5
  "author": "Christian Bromann <christian@saucelabs.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-cli",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@wdio/config": "5.22.4",
39
39
  "@wdio/logger": "5.16.10",
40
- "@wdio/utils": "5.18.6",
40
+ "@wdio/utils": "5.23.0",
41
41
  "async-exit-hook": "^2.0.1",
42
42
  "chalk": "^3.0.0",
43
43
  "chokidar": "^3.0.0",
@@ -49,12 +49,12 @@
49
49
  "lodash.pickby": "^4.6.0",
50
50
  "lodash.union": "^4.6.0",
51
51
  "log-update": "^3.2.0",
52
- "webdriverio": "5.22.4",
52
+ "webdriverio": "5.23.0",
53
53
  "yargs": "^15.0.1",
54
54
  "yarn-install": "^1.0.0"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "1a093237fe927a5db470f8a839b342df02913804"
59
+ "gitHead": "a9b8098ad18074e05a72c0458a7845a41a40aa93"
60
60
  }