@wdio/cli 8.36.0 → 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/launcher.d.ts.map +1 -1
- package/build/launcher.js +2 -7
- package/package.json +7 -7
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "8.36.
|
|
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.36.
|
|
51
|
-
"@wdio/globals": "8.36.
|
|
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.36.
|
|
55
|
-
"@wdio/utils": "8.36.
|
|
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.36.
|
|
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
|
}
|