@wdio/cli 8.0.0-alpha.331 → 8.0.0-alpha.411

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.
package/bin/wdio.js CHANGED
@@ -13,5 +13,5 @@ if (process.env.NODE_ENV == null) {
13
13
  */
14
14
  (async () => {
15
15
  const cli = await import('../build/index.js')
16
- cli.run()
16
+ return cli.run()
17
17
  })()
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ import cp from 'node:child_process';
1
3
  import type { Argv } from 'yargs';
2
4
  import type { RunCommandArguments } from '../types';
3
5
  export declare const command = "run <configPath>";
@@ -167,6 +169,6 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
167
169
  };
168
170
  }>>;
169
171
  export declare function launchWithStdin(wdioConfPath: string, params: Partial<RunCommandArguments>): void;
170
- export declare function launch(wdioConfPath: string, params: Partial<RunCommandArguments>): Promise<void>;
171
- export declare function handler(argv: RunCommandArguments): Promise<void>;
172
+ export declare function launch(wdioConfPath: string, params: Partial<RunCommandArguments>): Promise<void> | cp.ChildProcess;
173
+ export declare function handler(argv: RunCommandArguments): Promise<void | cp.ChildProcess>;
172
174
  //# sourceMappingURL=run.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAEnD,eAAO,MAAM,OAAO,qBAAqB,CAAA;AAEzC,eAAO,MAAM,IAAI,yEAAyE,CAAA;AAE1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFV,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI;;;;;;;;;;;;;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2
+ import fs from 'node:fs/promises';
3
+ import cp from 'node:child_process';
3
4
  import Launcher from '../launcher.js';
4
5
  import Watcher from '../watcher.js';
5
6
  import { missingConfigurationPrompt } from './config.js';
@@ -114,6 +115,32 @@ export function launchWithStdin(wdioConfPath, params) {
114
115
  });
115
116
  }
116
117
  export function launch(wdioConfPath, params) {
118
+ /**
119
+ * In order to load TypeScript files in ESM we need to apply the ts-node loader.
120
+ * Let's have WebdriverIO set it automatically if the user doesn't.
121
+ */
122
+ const nodePath = process.argv[0];
123
+ let NODE_OPTIONS = process.env.NODE_OPTIONS || '';
124
+ const runsWithLoader = (Boolean(process.argv.find((arg) => arg.startsWith('--loader')) &&
125
+ process.argv.find((arg) => arg.endsWith('ts-node/esm'))) ||
126
+ NODE_OPTIONS?.includes('ts-node/esm'));
127
+ if (wdioConfPath.endsWith('.ts') && !runsWithLoader && nodePath) {
128
+ NODE_OPTIONS += ' --loader ts-node/esm/transpile-only --no-warnings';
129
+ const tsProcess = cp.spawn(nodePath, process.argv.slice(1), {
130
+ cwd: process.cwd(),
131
+ detached: true,
132
+ stdio: 'inherit',
133
+ env: {
134
+ ...process.env,
135
+ NODE_OPTIONS
136
+ }
137
+ });
138
+ /**
139
+ * ensure process is killed according to result of new process
140
+ */
141
+ tsProcess.on('close', (code) => process.exit(code || 0));
142
+ return tsProcess;
143
+ }
117
144
  const launcher = new Launcher(wdioConfPath, params);
118
145
  return launcher.run()
119
146
  .then((...args) => {
@@ -132,12 +159,15 @@ export function launch(wdioConfPath, params) {
132
159
  }
133
160
  export async function handler(argv) {
134
161
  const { configPath, ...params } = argv;
135
- if (!fs.existsSync(configPath)) {
162
+ const canAccessConfigPath = await fs.access(configPath).then(() => true, () => false);
163
+ if (!canAccessConfigPath) {
136
164
  const configFullPath = path.join(process.cwd(), configPath);
137
165
  await missingConfigurationPrompt('run', configFullPath);
138
166
  }
139
167
  const localConf = path.join(process.cwd(), 'wdio.conf.js');
140
- const wdioConf = configPath || (fs.existsSync(localConf) ? localConf : undefined);
168
+ const wdioConf = configPath || ((await fs.access(localConf).then(() => true, () => false))
169
+ ? localConf
170
+ : undefined);
141
171
  /**
142
172
  * if `--watch` param is set, run launcher in watch mode
143
173
  */
@@ -217,6 +217,9 @@ export declare const SUPPORTED_PACKAGES: {
217
217
  }, {
218
218
  readonly name: "azure-devops";
219
219
  readonly value: "@gmangiapelo/wdio-azure-devops-service$--$azure-devops";
220
+ }, {
221
+ readonly name: "qmate-service";
222
+ readonly value: "@sap_oss/wdio-qmate-service--$qmate-service";
220
223
  }];
221
224
  };
222
225
  export declare const COMMUNITY_PACKAGES_WITH_V8_SUPPORT: string[];
@@ -519,8 +522,11 @@ export declare const QUESTIONNAIRE: ({
519
522
  }, {
520
523
  readonly name: "azure-devops";
521
524
  readonly value: "@gmangiapelo/wdio-azure-devops-service$--$azure-devops";
525
+ }, {
526
+ readonly name: "qmate-service";
527
+ readonly value: "@sap_oss/wdio-qmate-service--$qmate-service";
522
528
  }];
523
- default: ("wdio-chromedriver-service$--$chromedriver" | "wdio-geckodriver-service$--$geckodriver" | "wdio-edgedriver-service$--$edgedriver" | "@wdio/sauce-service$--$sauce" | "@wdio/testingbot-service$--$testingbot" | "@wdio/selenium-standalone-service$--$selenium-standalone" | "wdio-vscode-service$--$vscode" | "wdio-electron-service$--$electron" | "@wdio/devtools-service$--$devtools" | "@wdio/browserstack-service$--$browserstack" | "@wdio/appium-service$--$appium" | "@wdio/firefox-profile-service$--$firefox-profile" | "@wdio/crossbrowsertesting-service$--$crossbrowsertesting" | "wdio-eslinter-service$--$eslinter" | "wdio-lambdatest-service$--$lambdatest" | "wdio-zafira-listener-service$--$zafira-listener" | "wdio-reportportal-service$--$reportportal" | "wdio-docker-service$--$docker" | "wdio-ui5-service$--$ui5" | "wdio-wiremock-service$--$wiremock" | "wdio-ng-apimock-service$--ng-apimock" | "wdio-slack-service$--$slack" | "wdio-cucumber-viewport-logger-service$--$cucumber-viewport-logger" | "wdio-intercept-service$--$intercept" | "wdio-image-comparison-service$--$image-comparison" | "wdio-novus-visual-regression-service$--$novus-visual-regression" | "wdio-rerun-service$--$rerun" | "wdio-winappdriver-service$--$winappdriver" | "wdio-ywinappdriver-service$--$ywinappdriver" | "wdio-performancetotal-service$--$performancetotal" | "wdio-cleanuptotal-service$--$cleanuptotal" | "wdio-aws-device-farm-service$--$aws-device-farm" | "wdio-ocr-service$--$ocr-native-apps" | "wdio-ms-teams-service$--$ms-teams" | "wdio-tesults-service$--$tesults" | "@gmangiapelo/wdio-azure-devops-service$--$azure-devops")[];
529
+ default: ("wdio-chromedriver-service$--$chromedriver" | "wdio-geckodriver-service$--$geckodriver" | "wdio-edgedriver-service$--$edgedriver" | "@wdio/sauce-service$--$sauce" | "@wdio/testingbot-service$--$testingbot" | "@wdio/selenium-standalone-service$--$selenium-standalone" | "wdio-vscode-service$--$vscode" | "wdio-electron-service$--$electron" | "@wdio/devtools-service$--$devtools" | "@wdio/browserstack-service$--$browserstack" | "@wdio/appium-service$--$appium" | "@wdio/firefox-profile-service$--$firefox-profile" | "@wdio/crossbrowsertesting-service$--$crossbrowsertesting" | "wdio-eslinter-service$--$eslinter" | "wdio-lambdatest-service$--$lambdatest" | "wdio-zafira-listener-service$--$zafira-listener" | "wdio-reportportal-service$--$reportportal" | "wdio-docker-service$--$docker" | "wdio-ui5-service$--$ui5" | "wdio-wiremock-service$--$wiremock" | "wdio-ng-apimock-service$--ng-apimock" | "wdio-slack-service$--$slack" | "wdio-cucumber-viewport-logger-service$--$cucumber-viewport-logger" | "wdio-intercept-service$--$intercept" | "wdio-image-comparison-service$--$image-comparison" | "wdio-novus-visual-regression-service$--$novus-visual-regression" | "wdio-rerun-service$--$rerun" | "wdio-winappdriver-service$--$winappdriver" | "wdio-ywinappdriver-service$--$ywinappdriver" | "wdio-performancetotal-service$--$performancetotal" | "wdio-cleanuptotal-service$--$cleanuptotal" | "wdio-aws-device-farm-service$--$aws-device-farm" | "wdio-ocr-service$--$ocr-native-apps" | "wdio-ms-teams-service$--$ms-teams" | "wdio-tesults-service$--$tesults" | "@gmangiapelo/wdio-azure-devops-service$--$azure-devops" | "@sap_oss/wdio-qmate-service--$qmate-service")[];
524
530
  validate: (answers: string[]) => string | Boolean;
525
531
  when?: undefined;
526
532
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,eAAO,MAAM,GAAG,KAA6B,CAAA;AAE7C,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAED,eAAO,MAAM,mBAAmB,wFAI/B,CAAA;AAED,eAAO,MAAM,6BAA6B,iHAIzC,CAAA;AAED,eAAO,MAAM,iCAAiC,8CAG7C,CAAA;AAED,eAAO,MAAM,WAAW,KAAK,CAAA;AAE7B,eAAO,MAAM,cAAc;;;;CAI1B,CAAA;AAED,eAAO,MAAM,UAAU;;;;CAItB,CAAA;AAED,eAAO,MAAM,uBAAuB,iGAI1B,CAAA;AAEV,eAAO,MAAM,gBAAgB;;;;CAInB,CAAA;AAEV,eAAO,MAAM,wBAAwB,gQAQpC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ErB,CAAA;AAEV,eAAO,MAAM,kCAAkC,UAG9C,CAAA;AAED,eAAO,MAAM,eAAe,0NAMlB,CAAA;AAEV,eAAO,MAAM,gBAAgB,4BAGnB,CAAA;AAEV,eAAO,MAAM,aAAa,+BAIhB,CAAA;AAEV,eAAO,MAAM,aAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ErB,CAAA;AAEV,eAAO,MAAM,kCAAkC,UAG9C,CAAA;AAED,eAAO,MAAM,eAAe,0NAMlB,CAAA;AAEV,eAAO,MAAM,gBAAgB,4BAGnB,CAAA;AAEV,eAAO,MAAM,aAAa,+BAIhB,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;oBAgBqB,YAAY;;;;;;;;;oBAMZ,YAAY;;;;;;;;;oBAyBZ,YAAY;;;;;;;oBAkDZ,YAAY;;;;;;;;oBAMZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAsCpC,YAAY;oBACY,YAAY;;;;;;;uBAWpC,YAAY;oBACY,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgDR,MAAM,EAAE;;;;;;;;;;IA6BzD,CAAA"}
@@ -131,7 +131,8 @@ export const SUPPORTED_PACKAGES = {
131
131
  { name: 'ocr-native-apps', value: 'wdio-ocr-service$--$ocr-native-apps' },
132
132
  { name: 'ms-teams', value: 'wdio-ms-teams-service$--$ms-teams' },
133
133
  { name: 'tesults', value: 'wdio-tesults-service$--$tesults' },
134
- { name: 'azure-devops', value: '@gmangiapelo/wdio-azure-devops-service$--$azure-devops' }
134
+ { name: 'azure-devops', value: '@gmangiapelo/wdio-azure-devops-service$--$azure-devops' },
135
+ { name: 'qmate-service', value: '@sap_oss/wdio-qmate-service--$qmate-service' }
135
136
  ]
136
137
  };
137
138
  export const COMMUNITY_PACKAGES_WITH_V8_SUPPORT = [
package/build/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ /// <reference types="node" />
1
2
  import Launcher from './launcher.js';
2
- export declare const run: () => Promise<void>;
3
+ export declare const run: () => Promise<void | import("child_process").ChildProcess>;
3
4
  export default Launcher;
4
5
  export * from './types.js';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAqBpC,eAAO,MAAM,GAAG,qBA0Df,CAAA;AAED,eAAe,QAAQ,CAAA;AACvB,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAOA,OAAO,QAAQ,MAAM,eAAe,CAAA;AAqBpC,eAAO,MAAM,GAAG,4DA0Df,CAAA;AAED,eAAe,QAAQ,CAAA;AACvB,cAAc,YAAY,CAAA"}
@@ -4,25 +4,31 @@ import logger from '@wdio/logger';
4
4
  import { getRunnerName } from './utils.js';
5
5
  const log = logger('@wdio/cli');
6
6
  export default class WDIOCLInterface extends EventEmitter {
7
+ _config;
8
+ totalWorkerCnt;
9
+ _isWatchMode;
10
+ hasAnsiSupport;
11
+ result = {
12
+ finished: 0,
13
+ passed: 0,
14
+ retries: 0,
15
+ failed: 0
16
+ };
17
+ _jobs = new Map();
18
+ _specFileRetries;
19
+ _specFileRetriesDelay;
20
+ _skippedSpecs = 0;
21
+ _inDebugMode = false;
22
+ _start = new Date();
23
+ _messages = {
24
+ reporter: {},
25
+ debugger: {}
26
+ };
7
27
  constructor(_config, totalWorkerCnt, _isWatchMode = false) {
8
28
  super();
9
29
  this._config = _config;
10
30
  this.totalWorkerCnt = totalWorkerCnt;
11
31
  this._isWatchMode = _isWatchMode;
12
- this.result = {
13
- finished: 0,
14
- passed: 0,
15
- retries: 0,
16
- failed: 0
17
- };
18
- this._jobs = new Map();
19
- this._skippedSpecs = 0;
20
- this._inDebugMode = false;
21
- this._start = new Date();
22
- this._messages = {
23
- reporter: {},
24
- debugger: {}
25
- };
26
32
  /**
27
33
  * Colors can be forcibly enabled/disabled with env variable `FORCE_COLOR`
28
34
  * `FORCE_COLOR=1` - forcibly enable colors
package/build/launcher.js CHANGED
@@ -8,18 +8,25 @@ import CLInterface from './interface.js';
8
8
  import { runLauncherHook, runOnCompleteHook, runServiceHook } from './utils.js';
9
9
  const log = logger('@wdio/cli:launcher');
10
10
  class Launcher {
11
+ _configFilePath;
12
+ _args;
13
+ _isWatchMode;
14
+ configParser = new ConfigParser();
15
+ isMultiremote = false;
16
+ runner;
17
+ interface;
18
+ _exitCode = 0;
19
+ _hasTriggeredExitRoutine = false;
20
+ _schedule = [];
21
+ _rid = [];
22
+ _runnerStarted = 0;
23
+ _runnerFailed = 0;
24
+ _launcher;
25
+ _resolve;
11
26
  constructor(_configFilePath, _args = {}, _isWatchMode = false) {
12
27
  this._configFilePath = _configFilePath;
13
28
  this._args = _args;
14
29
  this._isWatchMode = _isWatchMode;
15
- this.configParser = new ConfigParser();
16
- this.isMultiremote = false;
17
- this._exitCode = 0;
18
- this._hasTriggeredExitRoutine = false;
19
- this._schedule = [];
20
- this._rid = [];
21
- this._runnerStarted = 0;
22
- this._runnerFailed = 0;
23
30
  /**
24
31
  * merge auto compile opts to understand how to parse the config
25
32
  */
package/build/utils.js CHANGED
@@ -21,6 +21,7 @@ const VERSION_REGEXP = /(\d+)\.(\d+)\.(\d+)-(alpha|beta|)\.(\d+)\+(.+)/g;
21
21
  const TEMPLATE_ROOT_DIR = path.join(__dirname, 'templates', 'exampleFiles');
22
22
  const renderFile = promisify(ejs.renderFile);
23
23
  export class HookError extends SevereServiceError {
24
+ origin;
24
25
  constructor(message, origin) {
25
26
  super(message);
26
27
  this.origin = origin;
package/build/watcher.js CHANGED
@@ -6,6 +6,10 @@ import union from 'lodash.union';
6
6
  import Launcher from './launcher.js';
7
7
  const log = logger('@wdio/cli:watch');
8
8
  export default class Watcher {
9
+ _configFile;
10
+ _args;
11
+ _launcher;
12
+ _specs;
9
13
  constructor(_configFile, _args) {
10
14
  this._configFile = _configFile;
11
15
  this._args = _args;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "8.0.0-alpha.331+78ec9a352",
3
+ "version": "8.0.0-alpha.411+2d3189eaf",
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",
@@ -41,25 +41,25 @@
41
41
  "@types/lodash.union": "^4.6.7",
42
42
  "@types/recursive-readdir": "^2.2.1",
43
43
  "@types/yargs": "^17.0.10",
44
- "@wdio/config": "8.0.0-alpha.331+78ec9a352",
45
- "@wdio/globals": "8.0.0-alpha.331+78ec9a352",
46
- "@wdio/logger": "8.0.0-alpha.331+78ec9a352",
47
- "@wdio/protocols": "8.0.0-alpha.331+78ec9a352",
48
- "@wdio/types": "8.0.0-alpha.331+78ec9a352",
49
- "@wdio/utils": "8.0.0-alpha.331+78ec9a352",
44
+ "@wdio/config": "8.0.0-alpha.411+2d3189eaf",
45
+ "@wdio/globals": "8.0.0-alpha.411+2d3189eaf",
46
+ "@wdio/logger": "8.0.0-alpha.411+2d3189eaf",
47
+ "@wdio/protocols": "8.0.0-alpha.411+2d3189eaf",
48
+ "@wdio/types": "8.0.0-alpha.411+2d3189eaf",
49
+ "@wdio/utils": "8.0.0-alpha.411+2d3189eaf",
50
50
  "async-exit-hook": "^2.0.1",
51
51
  "chalk": "^5.0.1",
52
52
  "chokidar": "^3.5.3",
53
53
  "cli-spinners": "^2.6.1",
54
54
  "ejs": "^3.1.8",
55
55
  "fs-extra": "^10.1.0",
56
- "inquirer": "9.1.1",
56
+ "inquirer": "9.1.2",
57
57
  "lodash.flattendeep": "^4.4.0",
58
58
  "lodash.pickby": "^4.6.0",
59
59
  "lodash.union": "^4.6.0",
60
60
  "mkdirp": "^1.0.4",
61
61
  "recursive-readdir": "^2.2.2",
62
- "webdriverio": "8.0.0-alpha.331+78ec9a352",
62
+ "webdriverio": "8.0.0-alpha.411+2d3189eaf",
63
63
  "yargs": "^17.5.1",
64
64
  "yarn-install": "^1.0.0"
65
65
  },
@@ -69,5 +69,5 @@
69
69
  "devDependencies": {
70
70
  "@types/node": "^18.0.0"
71
71
  },
72
- "gitHead": "78ec9a35262f7d5ff4001cf777553f0a3c173d6d"
72
+ "gitHead": "2d3189eaf8779f61699c1377f44f9841ed8a72c7"
73
73
  }