@wdio/cli 8.35.1 → 8.36.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.
package/build/commands/run.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare const cmdArgs: {
|
|
|
84
84
|
readonly mochaOpts: {
|
|
85
85
|
readonly desc: "Mocha options";
|
|
86
86
|
readonly coerce: (opts: {
|
|
87
|
-
[x: string]:
|
|
87
|
+
[x: string]: boolean | string | number;
|
|
88
88
|
}) => {
|
|
89
89
|
[x: string]: string | number | boolean;
|
|
90
90
|
};
|
|
@@ -92,7 +92,7 @@ export declare const cmdArgs: {
|
|
|
92
92
|
readonly jasmineOpts: {
|
|
93
93
|
readonly desc: "Jasmine options";
|
|
94
94
|
readonly coerce: (opts: {
|
|
95
|
-
[x: string]:
|
|
95
|
+
[x: string]: boolean | string | number;
|
|
96
96
|
}) => {
|
|
97
97
|
[x: string]: string | number | boolean;
|
|
98
98
|
};
|
|
@@ -100,7 +100,7 @@ export declare const cmdArgs: {
|
|
|
100
100
|
readonly cucumberOpts: {
|
|
101
101
|
readonly desc: "Cucumber options";
|
|
102
102
|
readonly coerce: (opts: {
|
|
103
|
-
[x: string]:
|
|
103
|
+
[x: string]: boolean | string | number;
|
|
104
104
|
}) => {
|
|
105
105
|
[x: string]: string | number | boolean;
|
|
106
106
|
};
|
|
@@ -201,7 +201,7 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
|
|
|
201
201
|
readonly mochaOpts: {
|
|
202
202
|
readonly desc: "Mocha options";
|
|
203
203
|
readonly coerce: (opts: {
|
|
204
|
-
[x: string]:
|
|
204
|
+
[x: string]: boolean | string | number;
|
|
205
205
|
}) => {
|
|
206
206
|
[x: string]: string | number | boolean;
|
|
207
207
|
};
|
|
@@ -209,7 +209,7 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
|
|
|
209
209
|
readonly jasmineOpts: {
|
|
210
210
|
readonly desc: "Jasmine options";
|
|
211
211
|
readonly coerce: (opts: {
|
|
212
|
-
[x: string]:
|
|
212
|
+
[x: string]: boolean | string | number;
|
|
213
213
|
}) => {
|
|
214
214
|
[x: string]: string | number | boolean;
|
|
215
215
|
};
|
|
@@ -217,7 +217,7 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
|
|
|
217
217
|
readonly cucumberOpts: {
|
|
218
218
|
readonly desc: "Cucumber options";
|
|
219
219
|
readonly coerce: (opts: {
|
|
220
|
-
[x: string]:
|
|
220
|
+
[x: string]: boolean | string | number;
|
|
221
221
|
}) => {
|
|
222
222
|
[x: string]: string | number | boolean;
|
|
223
223
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEtD,eAAO,MAAM,OAAO,qBAAqB,CAAA;AAEzC,eAAO,MAAM,IAAI,yEAAyE,CAAA;AAa1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmDI,MAAM
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/commands/run.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAEtD,eAAO,MAAM,OAAO,qBAAqB,CAAA;AAEzC,eAAO,MAAM,IAAI,yEAAyE,CAAA;AAa1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmDI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA9DJ;Y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AAC,UAAU,CA+StE,CAAA;AAED,eAAO,MAAM,yBAAyB;sBAChB,MAAM;yBACH,MAAM;CAC9B,CAAA"}
|
package/build/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGhD,OAAO,KAAK,EAAyB,QAAQ,EAAE,MAAM,aAAa,CAAA;AAElE,OAAO,WAAW,MAAM,gBAAgB,CAAA;AAIxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAiBrD,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,CAAA;CAClB;AAED,cAAM,QAAQ;IAkBN,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,YAAY;IAnBjB,YAAY,EAAE,YAAY,CAAA;IAC1B,aAAa,UAAQ;IACrB,qBAAqB,UAAQ;IAC7B,MAAM,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAA;IAChC,SAAS,CAAC,EAAE,WAAW,CAAA;IAE9B,OAAO,CAAC,SAAS,CAAI;IACrB,OAAO,CAAC,wBAAwB,CAAQ;IACxC,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,IAAI,CAAe;IAC3B,OAAO,CAAC,cAAc,CAAI;IAC1B,OAAO,CAAC,aAAa,CAAI;IAEzB,OAAO,CAAC,SAAS,CAAC,CAA4B;IAC9C,OAAO,CAAC,QAAQ,CAAC,CAAU;gBAGf,eAAe,EAAE,MAAM,EACvB,KAAK,GAAE,OAAO,CAAC,mBAAmB,CAAM,EACxC,YAAY,UAAQ;IAKhC;;;OAGG;IACG,GAAG,IAAI,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC;IAkHxC;;OAEG;IACH,OAAO,CAAC,QAAQ;IA+EhB;;OAEG;IACH,OAAO,CAAC,YAAY;IAyBpB;;;OAGG;IACH,OAAO,CAAC,SAAS;IAmEjB;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAIpC;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAI7B;;;;;;OAMG;YACW,cAAc;IA2G5B,OAAO,CAAC,gBAAgB;IAWxB;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAOpB;;;;;;OAMG;YACW,WAAW;IA0DzB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAcpB;;;OAGG;IACH,OAAO,CAAC,kBAAkB;CAG7B;AAED,eAAe,QAAQ,CAAA"}
|
package/build/launcher.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import fs from 'node:fs/promises';
|
|
2
|
-
import path from 'node:path';
|
|
3
1
|
import exitHook from 'async-exit-hook';
|
|
4
2
|
import logger from '@wdio/logger';
|
|
5
3
|
import { validateConfig } from '@wdio/config';
|
|
6
4
|
import { ConfigParser } from '@wdio/config/node';
|
|
7
|
-
import { initializePlugin, initializeLauncherService, sleep } from '@wdio/utils';
|
|
5
|
+
import { initializePlugin, initializeLauncherService, sleep, enableFileLogging } from '@wdio/utils';
|
|
8
6
|
import { setupDriver, setupBrowser } from '@wdio/utils/node';
|
|
9
7
|
import CLInterface from './interface.js';
|
|
10
8
|
import { runLauncherHook, runOnCompleteHook, runServiceHook } from './utils.js';
|
|
@@ -50,10 +48,7 @@ class Launcher {
|
|
|
50
48
|
capabilities.every(cap => Object.values(cap).length > 0 && Object.values(cap).every(c => typeof c === 'object' && c.capabilities));
|
|
51
49
|
this.isMultiremote = this.isParallelMultiremote || !Array.isArray(capabilities);
|
|
52
50
|
validateConfig(TESTRUNNER_DEFAULTS, { ...config, capabilities });
|
|
53
|
-
|
|
54
|
-
await fs.mkdir(path.join(config.outputDir), { recursive: true });
|
|
55
|
-
process.env.WDIO_LOG_PATH = path.join(config.outputDir, 'wdio.log');
|
|
56
|
-
}
|
|
51
|
+
await enableFileLogging(config.outputDir);
|
|
57
52
|
logger.setLogLevelsConfig(config.logLevels, config.logLevel);
|
|
58
53
|
/**
|
|
59
54
|
* For Parallel-Multiremote, only get the specs and excludes from the first object
|
|
@@ -40,7 +40,7 @@ capabilities: [{<%
|
|
|
40
40
|
} else if (answers.purpose === 'electron') { %>
|
|
41
41
|
browserName: 'electron',
|
|
42
42
|
// Electron service options
|
|
43
|
-
// see https://webdriver.io/docs/
|
|
43
|
+
// see https://webdriver.io/docs/desktop-testing/electron/configuration/#service-options
|
|
44
44
|
'wdio:electronServiceOptions': {<%
|
|
45
45
|
if (answers.electronAppBinaryPath) { %>
|
|
46
46
|
// custom path to app binary
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.36.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",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@types/node": "^20.1.1",
|
|
49
49
|
"@vitest/snapshot": "^1.2.1",
|
|
50
|
-
"@wdio/config": "8.
|
|
51
|
-
"@wdio/globals": "8.
|
|
50
|
+
"@wdio/config": "8.36.1",
|
|
51
|
+
"@wdio/globals": "8.36.1",
|
|
52
52
|
"@wdio/logger": "8.28.0",
|
|
53
53
|
"@wdio/protocols": "8.32.0",
|
|
54
|
-
"@wdio/types": "8.
|
|
55
|
-
"@wdio/utils": "8.
|
|
54
|
+
"@wdio/types": "8.36.1",
|
|
55
|
+
"@wdio/utils": "8.36.1",
|
|
56
56
|
"async-exit-hook": "^2.0.1",
|
|
57
57
|
"chalk": "^5.2.0",
|
|
58
58
|
"chokidar": "^3.5.3",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"lodash.union": "^4.6.0",
|
|
68
68
|
"read-pkg-up": "10.0.0",
|
|
69
69
|
"recursive-readdir": "^2.2.3",
|
|
70
|
-
"webdriverio": "8.
|
|
70
|
+
"webdriverio": "8.36.1",
|
|
71
71
|
"yargs": "^17.7.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "6c4a9745052c29d13b73ac622dfda387c884ffd8"
|
|
87
87
|
}
|