@wdio/cli 8.9.0 → 8.10.1

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.
@@ -291,17 +291,17 @@ export declare const QUESTIONNAIRE: ({
291
291
  type: string;
292
292
  name: string;
293
293
  message: string;
294
- default: boolean;
295
- when: (answers: Questionnair) => boolean;
296
- choices?: undefined;
294
+ choices: (answers: Questionnair) => readonly ["On my local machine", "In the cloud using Experitest", "In the cloud using Sauce Labs", "In the cloud using BrowserStack", "In the cloud using Testingbot or LambdaTest or a different service", "I have my own Selenium cloud"] | ("On my local machine" | "In the cloud using Experitest" | "In the cloud using Sauce Labs" | "In the cloud using BrowserStack" | "In the cloud using Testingbot or LambdaTest or a different service" | "I have my own Selenium cloud")[];
295
+ when?: undefined;
296
+ default?: undefined;
297
297
  validate?: undefined;
298
298
  } | {
299
299
  type: string;
300
300
  name: string;
301
301
  message: string;
302
- choices: (answers: Questionnair) => readonly ["On my local machine", "In the cloud using Experitest", "In the cloud using Sauce Labs", "In the cloud using BrowserStack", "In the cloud using Testingbot or LambdaTest or a different service", "I have my own Selenium cloud"] | ("On my local machine" | "In the cloud using Experitest" | "In the cloud using Sauce Labs" | "In the cloud using BrowserStack" | "In the cloud using Testingbot or LambdaTest or a different service" | "I have my own Selenium cloud")[];
303
- when?: undefined;
304
- default?: undefined;
302
+ default: boolean;
303
+ when: (answers: Questionnair) => boolean;
304
+ choices?: undefined;
305
305
  validate?: undefined;
306
306
  } | {
307
307
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9C,eAAO,MAAM,GAAG,KAA6B,CAAA;AAE7C,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAED,eAAO,MAAM,mBAAmB,8HAI/B,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 +214,6 @@ export const QUESTIONNAIRE = [{
214
214
  * Only show if Testing Library has an add-on for framework
215
215
  */
216
216
  answers.preset && TESTING_LIBRARY_PACKAGES[convertPackageHashToObject(answers.preset).short])
217
- }, {
218
- type: 'confirm',
219
- name: 'setupMobileEnvironment',
220
- message: 'Would you like to setup Appium for mobile testing?',
221
- default: false,
222
- when: /* istanbul ignore next */ (answers) => isLocalEnvironment(answers)
223
217
  }, {
224
218
  type: 'list',
225
219
  name: 'backend',
@@ -234,6 +228,13 @@ export const QUESTIONNAIRE = [{
234
228
  }
235
229
  return BACKEND_CHOICES;
236
230
  }
231
+ }, {
232
+ type: 'confirm',
233
+ name: 'setupMobileEnvironment',
234
+ message: 'Would you like to setup Appium for mobile testing?',
235
+ default: false,
236
+ when: /* istanbul ignore next */ (answers) => (isLocalEnvironment(answers) &&
237
+ answers.backend === BACKEND_CHOICES[0])
237
238
  }, {
238
239
  type: 'input',
239
240
  name: 'hostname',
@@ -7,10 +7,10 @@
7
7
  */
8
8
  if (usePageObjects) { %>
9
9
  <%- isUsingTypeScript || esmSupport
10
- ? `import LoginPage from '${relativePath}/login.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
10
+ ? `import LoginPage from '${relativePath}/login.page${esmSupport ? '.js' : ''}';`
11
11
  : `const LoginPage = require('${relativePath}/login.page');` %>
12
12
  <%- isUsingTypeScript || esmSupport
13
- ? `import SecurePage from '${relativePath}/secure.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
13
+ ? `import SecurePage from '${relativePath}/secure.page${esmSupport ? '.js' : ''}';`
14
14
  : `const SecurePage = require('${relativePath}/secure.page');` %>
15
15
 
16
16
  const pages = {
@@ -4,10 +4,10 @@
4
4
  */
5
5
  if (usePageObjects) {
6
6
  %><%- isUsingTypeScript || esmSupport
7
- ? `import LoginPage from '${relativePath}/login.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
7
+ ? `import LoginPage from '${relativePath}/login.page${esmSupport ? '.js' : ''}';`
8
8
  : `const LoginPage = require('${relativePath}/login.page');` %>
9
9
  <%- isUsingTypeScript || esmSupport
10
- ? `import SecurePage from '${relativePath}/secure.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
10
+ ? `import SecurePage from '${relativePath}/secure.page${esmSupport ? '.js' : ''}';`
11
11
  : `const SecurePage = require('${relativePath}/secure.page');` %>
12
12
 
13
13
  describe('My Login application', () => {
@@ -4,10 +4,10 @@
4
4
  */
5
5
  if (usePageObjects) {
6
6
  %><%- isUsingTypeScript || esmSupport
7
- ? `import LoginPage from '${relativePath}/login.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}'`
7
+ ? `import LoginPage from '${relativePath}/login.page${esmSupport ? '.js' : ''}'`
8
8
  : `const LoginPage = require('${relativePath}/login.page')` %>
9
9
  <%- isUsingTypeScript || esmSupport
10
- ? `import SecurePage from '${relativePath}/secure.page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}'`
10
+ ? `import SecurePage from '${relativePath}/secure.page${esmSupport ? '.js' : ''}'`
11
11
  : `const SecurePage = require('${relativePath}/secure.page')` %>
12
12
 
13
13
  describe('My Login application', () => {
@@ -1,7 +1,7 @@
1
1
  <%- isUsingTypeScript ? "import { ChainablePromiseElement } from 'webdriverio';" : "" %>
2
2
 
3
3
  <%- isUsingTypeScript || esmSupport
4
- ? `import Page from './page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
4
+ ? `import Page from './page${esmSupport ? '.js' : ''}';`
5
5
  : "const Page = require('./page');" %>
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  <%- isUsingTypeScript ? "import { ChainablePromiseElement } from 'webdriverio';" : "" %>
2
2
 
3
3
  <%- isUsingTypeScript || esmSupport
4
- ? `import Page from './page${esmSupport && isUsingTypeScript ? '.ts' : esmSupport ? '.js' : ''}';`
4
+ ? `import Page from './page${esmSupport ? '.js' : ''}';`
5
5
  : "const Page = require('./page');" %>
6
6
 
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAetD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGhD,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAMlE,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAQrI,eAAO,MAAM,UAAU,SAAuC,MAAM,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,KAAK,QAAQ,MAAM,CAAC,CAAA;AAEnH,qBAAa,SAAU,SAAQ,kBAAkB;IACtC,MAAM,EAAE,MAAM,CAAA;gBACT,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAI9C;AAED;;GAEG;AACH,wBAAsB,cAAc,CAChC,QAAQ,EAAE,QAAQ,CAAC,eAAe,EAAE,EACpC,QAAQ,EAAE,MAAM,QAAQ,CAAC,aAAa,EACtC,GAAG,IAAI,EAAE,GAAG,EAAE,sBA2BjB;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,yBAmBhF;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACnC,cAAc,EAAE,QAAQ,GAAG,QAAQ,EAAE,EACrC,MAAM,EAAE,OAAO,CAAC,UAAU,EAC1B,YAAY,EAAE,YAAY,CAAC,kBAAkB,EAC7C,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,gBAAgB,sBAkB5B;AAED;;GAEG;AACH,wBAAgB,aAAa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,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QA8DxF;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,aAAa,EAAE,aAAa,iBAyCjE;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,aAAa,EAAE,aAAa,iBA4C5D;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,aAAa,iBAgBlE;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,aAAa,oBAkBlE;AAED,wBAAsB,kBAAkB,CAAC,aAAa,EAAE,aAAa,4DAoBpE"}
package/build/utils.js CHANGED
@@ -116,9 +116,6 @@ export async function runOnCompleteHook(onCompleteHook, config, capabilities, ex
116
116
  */
117
117
  export function getRunnerName(caps = {}) {
118
118
  let runner = caps.browserName ||
119
- caps.appPackage ||
120
- caps.appWaitActivity ||
121
- caps.app ||
122
119
  caps.platformName ||
123
120
  caps['appium:platformName'] ||
124
121
  caps['appium:appPackage'] ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "8.9.0",
3
+ "version": "8.10.1",
4
4
  "description": "WebdriverIO testrunner command line interface",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
@@ -45,42 +45,42 @@
45
45
  },
46
46
  "typeScriptVersion": "3.8.3",
47
47
  "dependencies": {
48
- "@types/node": "^18.0.0",
49
- "@wdio/config": "8.8.7",
50
- "@wdio/globals": "8.9.0",
48
+ "@types/node": "^20.1.1",
49
+ "@wdio/config": "8.10.1",
50
+ "@wdio/globals": "8.10.1",
51
51
  "@wdio/logger": "8.6.6",
52
52
  "@wdio/protocols": "8.8.1",
53
- "@wdio/types": "8.8.7",
54
- "@wdio/utils": "8.8.7",
53
+ "@wdio/types": "8.10.1",
54
+ "@wdio/utils": "8.10.1",
55
55
  "async-exit-hook": "^2.0.1",
56
- "chalk": "^5.0.1",
56
+ "chalk": "^5.2.0",
57
57
  "chokidar": "^3.5.3",
58
- "cli-spinners": "^2.6.1",
59
- "ejs": "^3.1.8",
60
- "execa": "^7.0.0",
58
+ "cli-spinners": "^2.9.0",
59
+ "ejs": "^3.1.9",
60
+ "execa": "^7.1.1",
61
61
  "import-meta-resolve": "^3.0.0",
62
- "inquirer": "9.1.5",
62
+ "inquirer": "9.2.2",
63
63
  "lodash.flattendeep": "^4.4.0",
64
64
  "lodash.pickby": "^4.6.0",
65
65
  "lodash.union": "^4.6.0",
66
66
  "read-pkg-up": "9.1.0",
67
- "recursive-readdir": "^2.2.2",
68
- "webdriverio": "8.9.0",
69
- "yargs": "^17.5.1",
67
+ "recursive-readdir": "^2.2.3",
68
+ "webdriverio": "8.10.1",
69
+ "yargs": "^17.7.2",
70
70
  "yarn-install": "^1.0.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/async-exit-hook": "^2.0.0",
74
- "@types/ejs": "^3.1.1",
75
- "@types/inquirer": "^9.0.0",
74
+ "@types/ejs": "^3.1.2",
75
+ "@types/inquirer": "^9.0.3",
76
76
  "@types/lodash.flattendeep": "^4.4.7",
77
77
  "@types/lodash.pickby": "^4.6.7",
78
78
  "@types/lodash.union": "^4.6.7",
79
79
  "@types/recursive-readdir": "^2.2.1",
80
- "@types/yargs": "^17.0.10"
80
+ "@types/yargs": "^17.0.24"
81
81
  },
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "6aa655ac57e4917a15204fa776f0fc82bdf35317"
85
+ "gitHead": "0fc768bb7b2fe233877893260aec658facf6357f"
86
86
  }