@wdio/cli 9.4.1 → 9.4.2
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/constants.d.ts +2 -77
- package/build/constants.d.ts.map +1 -1
- package/build/index.js +26 -96
- package/build/launcher.d.ts +1 -0
- package/build/launcher.d.ts.map +1 -1
- package/build/templates/exampleFiles/serenity-js/jasmine/example.spec.ts.ejs +1 -1
- package/build/templates/exampleFiles/serenity-js/mocha/example.spec.ts.ejs +1 -1
- package/build/utils.d.ts.map +1 -1
- package/package.json +7 -8
package/build/constants.d.ts
CHANGED
|
@@ -1,81 +1,6 @@
|
|
|
1
1
|
import type { Options } from '@wdio/types';
|
|
2
2
|
import type { Questionnair } from './types.js';
|
|
3
|
-
export declare const pkg:
|
|
4
|
-
name: string;
|
|
5
|
-
version: string;
|
|
6
|
-
description: string;
|
|
7
|
-
author: string;
|
|
8
|
-
homepage: string;
|
|
9
|
-
license: string;
|
|
10
|
-
bin: {
|
|
11
|
-
wdio: string;
|
|
12
|
-
};
|
|
13
|
-
engines: {
|
|
14
|
-
node: string;
|
|
15
|
-
};
|
|
16
|
-
repository: {
|
|
17
|
-
type: string;
|
|
18
|
-
url: string;
|
|
19
|
-
directory: string;
|
|
20
|
-
};
|
|
21
|
-
keywords: string[];
|
|
22
|
-
bugs: {
|
|
23
|
-
url: string;
|
|
24
|
-
};
|
|
25
|
-
main: string;
|
|
26
|
-
type: string;
|
|
27
|
-
module: string;
|
|
28
|
-
types: string;
|
|
29
|
-
exports: {
|
|
30
|
-
".": {
|
|
31
|
-
types: string;
|
|
32
|
-
import: string;
|
|
33
|
-
requireSource: string;
|
|
34
|
-
require: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
typeScriptVersion: string;
|
|
38
|
-
dependencies: {
|
|
39
|
-
"@types/node": string;
|
|
40
|
-
"@vitest/snapshot": string;
|
|
41
|
-
"@wdio/config": string;
|
|
42
|
-
"@wdio/globals": string;
|
|
43
|
-
"@wdio/logger": string;
|
|
44
|
-
"@wdio/protocols": string;
|
|
45
|
-
"@wdio/types": string;
|
|
46
|
-
"@wdio/utils": string;
|
|
47
|
-
"async-exit-hook": string;
|
|
48
|
-
chalk: string;
|
|
49
|
-
chokidar: string;
|
|
50
|
-
"cli-spinners": string;
|
|
51
|
-
dotenv: string;
|
|
52
|
-
ejs: string;
|
|
53
|
-
execa: string;
|
|
54
|
-
"import-meta-resolve": string;
|
|
55
|
-
inquirer: string;
|
|
56
|
-
"lodash.flattendeep": string;
|
|
57
|
-
"lodash.pickby": string;
|
|
58
|
-
"lodash.union": string;
|
|
59
|
-
"read-pkg-up": string;
|
|
60
|
-
"recursive-readdir": string;
|
|
61
|
-
tsx: string;
|
|
62
|
-
webdriverio: string;
|
|
63
|
-
yargs: string;
|
|
64
|
-
};
|
|
65
|
-
devDependencies: {
|
|
66
|
-
"@types/async-exit-hook": string;
|
|
67
|
-
"@types/ejs": string;
|
|
68
|
-
"@types/inquirer": string;
|
|
69
|
-
"@types/lodash.flattendeep": string;
|
|
70
|
-
"@types/lodash.pickby": string;
|
|
71
|
-
"@types/lodash.union": string;
|
|
72
|
-
"@types/recursive-readdir": string;
|
|
73
|
-
"@types/yargs": string;
|
|
74
|
-
};
|
|
75
|
-
publishConfig: {
|
|
76
|
-
access: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
3
|
+
export declare const pkg: any;
|
|
79
4
|
export declare const CLI_EPILOGUE: string;
|
|
80
5
|
export declare const CONFIG_HELPER_INTRO = "\n===============================\n\uD83E\uDD16 WDIO Configuration Wizard \uD83E\uDDD9\n===============================\n";
|
|
81
6
|
export declare const SUPPORTED_COMMANDS: string[];
|
|
@@ -86,7 +11,7 @@ export declare const configHelperSuccessMessage: ({ projectRootDir, runScript, e
|
|
|
86
11
|
runScript: string;
|
|
87
12
|
extraInfo: string;
|
|
88
13
|
}) => string;
|
|
89
|
-
export declare const CONFIG_HELPER_SERENITY_BANNER = "\nLearn more about Serenity/JS:\n \uD83D\uDD17 https://serenity-js.org\n";
|
|
14
|
+
export declare const CONFIG_HELPER_SERENITY_BANNER = "\nLearn more about Serenity/JS:\n \uD83D\uDD17 https://serenity-js.org/\n \uD83D\uDD17 https://serenity-js.org/handbook/test-runners/webdriverio/\n";
|
|
90
15
|
export declare const DEPENDENCIES_INSTALLATION_MESSAGE = "\nTo install dependencies, execute:\n%s\n";
|
|
91
16
|
export declare const NPM_INSTALL = "";
|
|
92
17
|
export declare const ANDROID_CONFIG: {
|
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAuB,MAAM,aAAa,CAAA;AAS/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAK9C,eAAO,MAAM,GAAG,KAAU,CAAA;AAC1B,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,mBAAmB,8HAI/B,CAAA;AAED,eAAO,MAAM,kBAAkB,UAAuC,CAAA;AACtE,eAAO,MAAM,GAAG,yCAA0C,CAAA;AAC1D,eAAO,MAAM,+BAA+B,UAA2C,CAAA;AACvF,eAAO,MAAM,0BAA0B,6CAAmD;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,WAYzJ,CAAA;AAED,eAAO,MAAM,6BAA6B,0JAIzC,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;;;GAGG;AACH,eAAO,MAAM,k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AO,MAAM,kCAAkC,UAM9C,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,GAAG;IAAE,YAAY,EAAE,OAAO,CAAA;CAAE,CA+SlG,CAAA;AAED,eAAO,MAAM,yBAAyB;sBAChB,MAAM;yBACH,MAAM;CAC9B,CAAA"}
|
package/build/index.js
CHANGED
|
@@ -82,93 +82,11 @@ function getInstallCommand(pm, packages, dev) {
|
|
|
82
82
|
// src/constants.ts
|
|
83
83
|
import fs from "node:fs";
|
|
84
84
|
import path from "node:path";
|
|
85
|
+
import module from "node:module";
|
|
85
86
|
import { HOOK_DEFINITION } from "@wdio/utils";
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
var
|
|
89
|
-
name: "@wdio/cli",
|
|
90
|
-
version: "9.4.0",
|
|
91
|
-
description: "WebdriverIO testrunner command line interface",
|
|
92
|
-
author: "Christian Bromann <mail@bromann.dev>",
|
|
93
|
-
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
94
|
-
license: "MIT",
|
|
95
|
-
bin: {
|
|
96
|
-
wdio: "./bin/wdio.js"
|
|
97
|
-
},
|
|
98
|
-
engines: {
|
|
99
|
-
node: ">=18.20.0"
|
|
100
|
-
},
|
|
101
|
-
repository: {
|
|
102
|
-
type: "git",
|
|
103
|
-
url: "git+https://github.com/webdriverio/webdriverio.git",
|
|
104
|
-
directory: "packages/wdio-cli"
|
|
105
|
-
},
|
|
106
|
-
keywords: [
|
|
107
|
-
"webdriver",
|
|
108
|
-
"webdriverio",
|
|
109
|
-
"wdio",
|
|
110
|
-
"cli"
|
|
111
|
-
],
|
|
112
|
-
bugs: {
|
|
113
|
-
url: "https://github.com/webdriverio/webdriverio/issues"
|
|
114
|
-
},
|
|
115
|
-
main: "./build/index.cjs",
|
|
116
|
-
type: "module",
|
|
117
|
-
module: "./build/index.js",
|
|
118
|
-
types: "./build/index.d.ts",
|
|
119
|
-
exports: {
|
|
120
|
-
".": {
|
|
121
|
-
types: "./build/index.d.ts",
|
|
122
|
-
import: "./build/index.js",
|
|
123
|
-
requireSource: "./src/index.cts",
|
|
124
|
-
require: "./build/index.cjs"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
typeScriptVersion: "3.8.3",
|
|
128
|
-
dependencies: {
|
|
129
|
-
"@types/node": "^20.1.1",
|
|
130
|
-
"@vitest/snapshot": "^2.1.1",
|
|
131
|
-
"@wdio/config": "workspace:*",
|
|
132
|
-
"@wdio/globals": "workspace:*",
|
|
133
|
-
"@wdio/logger": "workspace:*",
|
|
134
|
-
"@wdio/protocols": "workspace:*",
|
|
135
|
-
"@wdio/types": "workspace:*",
|
|
136
|
-
"@wdio/utils": "workspace:*",
|
|
137
|
-
"async-exit-hook": "^2.0.1",
|
|
138
|
-
chalk: "^5.2.0",
|
|
139
|
-
chokidar: "^4.0.0",
|
|
140
|
-
"cli-spinners": "^3.0.0",
|
|
141
|
-
dotenv: "^16.3.1",
|
|
142
|
-
ejs: "^3.1.9",
|
|
143
|
-
execa: "^9.2.0",
|
|
144
|
-
"import-meta-resolve": "^4.0.0",
|
|
145
|
-
inquirer: "^11.0.1",
|
|
146
|
-
"lodash.flattendeep": "^4.4.0",
|
|
147
|
-
"lodash.pickby": "^4.6.0",
|
|
148
|
-
"lodash.union": "^4.6.0",
|
|
149
|
-
"read-pkg-up": "^10.0.0",
|
|
150
|
-
"recursive-readdir": "^2.2.3",
|
|
151
|
-
tsx: "^4.7.2",
|
|
152
|
-
webdriverio: "workspace:*",
|
|
153
|
-
yargs: "^17.7.2"
|
|
154
|
-
},
|
|
155
|
-
devDependencies: {
|
|
156
|
-
"@types/async-exit-hook": "^2.0.0",
|
|
157
|
-
"@types/ejs": "^3.1.2",
|
|
158
|
-
"@types/inquirer": "^9.0.3",
|
|
159
|
-
"@types/lodash.flattendeep": "^4.4.7",
|
|
160
|
-
"@types/lodash.pickby": "^4.6.7",
|
|
161
|
-
"@types/lodash.union": "^4.6.7",
|
|
162
|
-
"@types/recursive-readdir": "^2.2.1",
|
|
163
|
-
"@types/yargs": "^17.0.24"
|
|
164
|
-
},
|
|
165
|
-
publishConfig: {
|
|
166
|
-
access: "public"
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
// src/constants.ts
|
|
171
|
-
var pkg = package_default;
|
|
87
|
+
var require2 = module.createRequire(import.meta.url);
|
|
88
|
+
var pkgJSON = require2("../package.json");
|
|
89
|
+
var pkg = pkgJSON;
|
|
172
90
|
var CLI_EPILOGUE = `Documentation: https://webdriver.io
|
|
173
91
|
@wdio/cli (v${pkg.version})`;
|
|
174
92
|
var CONFIG_HELPER_INTRO = `
|
|
@@ -194,7 +112,8 @@ $ npm run ${runScript}
|
|
|
194
112
|
`;
|
|
195
113
|
var CONFIG_HELPER_SERENITY_BANNER = `
|
|
196
114
|
Learn more about Serenity/JS:
|
|
197
|
-
\u{1F517} https://serenity-js.org
|
|
115
|
+
\u{1F517} https://serenity-js.org/
|
|
116
|
+
\u{1F517} https://serenity-js.org/handbook/test-runners/webdriverio/
|
|
198
117
|
`;
|
|
199
118
|
var DEPENDENCIES_INSTALLATION_MESSAGE = `
|
|
200
119
|
To install dependencies, execute:
|
|
@@ -1819,8 +1738,7 @@ async function createWDIOScript(parsedAnswers) {
|
|
|
1819
1738
|
"wdio": `wdio run ${pathToWdioConfig}`
|
|
1820
1739
|
};
|
|
1821
1740
|
const serenityScripts = {
|
|
1822
|
-
"serenity": "failsafe serenity:
|
|
1823
|
-
"serenity:update": "serenity-bdd update",
|
|
1741
|
+
"serenity": "failsafe serenity:clean wdio serenity:report",
|
|
1824
1742
|
"serenity:clean": "rimraf target",
|
|
1825
1743
|
"wdio": `wdio run ${pathToWdioConfig}`,
|
|
1826
1744
|
"serenity:report": "serenity-bdd run"
|
|
@@ -2254,8 +2172,8 @@ var Launcher = class {
|
|
|
2254
2172
|
const totalWorkerCnt = Array.isArray(capabilities) ? capabilities.map((c) => {
|
|
2255
2173
|
if (this.isParallelMultiremote) {
|
|
2256
2174
|
const keys = Object.keys(c);
|
|
2257
|
-
const
|
|
2258
|
-
return this.configParser.getSpecs(
|
|
2175
|
+
const caps2 = c[keys[0]].capabilities;
|
|
2176
|
+
return this.configParser.getSpecs(caps2["wdio:specs"], caps2["wdio:exclude"]).length;
|
|
2259
2177
|
}
|
|
2260
2178
|
const standaloneCaps = c;
|
|
2261
2179
|
const cap = "alwaysMatch" in standaloneCaps ? standaloneCaps.alwaysMatch : standaloneCaps;
|
|
@@ -2269,8 +2187,8 @@ var Launcher = class {
|
|
|
2269
2187
|
exitHook(this._exitHandler.bind(this));
|
|
2270
2188
|
let exitCode = 0;
|
|
2271
2189
|
let error = void 0;
|
|
2190
|
+
const caps = this.configParser.getCapabilities();
|
|
2272
2191
|
try {
|
|
2273
|
-
const caps = this.configParser.getCapabilities();
|
|
2274
2192
|
const { ignoredWorkerServices, launcherServices } = await initializeLauncherService(config, caps);
|
|
2275
2193
|
this._launcher = launcherServices;
|
|
2276
2194
|
this._args.ignoredWorkerServices = ignoredWorkerServices;
|
|
@@ -2283,10 +2201,6 @@ var Launcher = class {
|
|
|
2283
2201
|
setupBrowser(config, caps)
|
|
2284
2202
|
]);
|
|
2285
2203
|
exitCode = await this._runMode(config, caps);
|
|
2286
|
-
log3.info("Run onComplete hook");
|
|
2287
|
-
const onCompleteResults = await runOnCompleteHook(config.onComplete, config, caps, exitCode, this.interface.result);
|
|
2288
|
-
await runServiceHook(this._launcher, "onComplete", exitCode, config, caps);
|
|
2289
|
-
exitCode = onCompleteResults.includes(1) ? 1 : exitCode;
|
|
2290
2204
|
await logger3.waitForBuffer();
|
|
2291
2205
|
this.interface.finalise();
|
|
2292
2206
|
} catch (err) {
|
|
@@ -2299,6 +2213,7 @@ var Launcher = class {
|
|
|
2299
2213
|
exitCode = exitCode || 1;
|
|
2300
2214
|
}
|
|
2301
2215
|
}
|
|
2216
|
+
exitCode = await this.#runOnCompleteHook(config, caps, exitCode);
|
|
2302
2217
|
}
|
|
2303
2218
|
if (error) {
|
|
2304
2219
|
this.interface.logHookError(error);
|
|
@@ -2306,6 +2221,21 @@ var Launcher = class {
|
|
|
2306
2221
|
}
|
|
2307
2222
|
return exitCode;
|
|
2308
2223
|
}
|
|
2224
|
+
/**
|
|
2225
|
+
* run onComplete hook
|
|
2226
|
+
* Even if it fails we still want to see result and end logger stream.
|
|
2227
|
+
* Also ensure that user hooks are run before service hooks so that e.g.
|
|
2228
|
+
* a user can use plugin service, e.g. shared store service is still
|
|
2229
|
+
* available running hooks in this order
|
|
2230
|
+
*/
|
|
2231
|
+
async #runOnCompleteHook(config, caps, exitCode) {
|
|
2232
|
+
log3.info("Run onComplete hook");
|
|
2233
|
+
const onCompleteResults = await runOnCompleteHook(config.onComplete, config, caps, exitCode, this.interface.result);
|
|
2234
|
+
if (this._launcher) {
|
|
2235
|
+
await runServiceHook(this._launcher, "onComplete", exitCode, config, caps);
|
|
2236
|
+
}
|
|
2237
|
+
return onCompleteResults.includes(1) ? 1 : exitCode;
|
|
2238
|
+
}
|
|
2309
2239
|
/**
|
|
2310
2240
|
* run without triggering onPrepare/onComplete hooks
|
|
2311
2241
|
*/
|
package/build/launcher.d.ts
CHANGED
package/build/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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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;IAiCpB;;;OAGG;IACH,OAAO,CAAC,SAAS;IAmEjB;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAIpC;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAI7B;;;;;;OAMG;YACW,cAAc;IAuG5B,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"}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* - Serenity/JS REST module - https://serenity-js.org/api/rest/
|
|
24
24
|
* - Serenity/JS assertions module - https://serenity-js.org/api/assertions/
|
|
25
25
|
*/
|
|
26
|
-
describe('
|
|
26
|
+
describe('Example', () => {
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* This is the most basic example of a Serenity/JS Screenplay Pattern test scenario.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* - Serenity/JS REST module - https://serenity-js.org/api/rest/
|
|
26
26
|
* - Serenity/JS assertions module - https://serenity-js.org/api/assertions/
|
|
27
27
|
*/
|
|
28
|
-
describe('
|
|
28
|
+
describe('Example', () => {
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* This is the most basic example of a Serenity/JS Screenplay Pattern test scenario.
|
package/build/utils.d.ts.map
CHANGED
|
@@ -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;AAYtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGhD,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAclE,OAAO,KAAK,EACR,gBAAgB,EAChB,a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SAAS,aAclB;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,GAAG,SAAS,kCAUxE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.2",
|
|
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,16 +41,15 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@types/node": "^20.1.1",
|
|
43
43
|
"@vitest/snapshot": "^2.1.1",
|
|
44
|
-
"@wdio/config": "9.2
|
|
45
|
-
"@wdio/globals": "9.4.
|
|
44
|
+
"@wdio/config": "9.4.2",
|
|
45
|
+
"@wdio/globals": "9.4.2",
|
|
46
46
|
"@wdio/logger": "9.1.3",
|
|
47
47
|
"@wdio/protocols": "9.2.2",
|
|
48
|
-
"@wdio/types": "9.
|
|
49
|
-
"@wdio/utils": "9.2
|
|
48
|
+
"@wdio/types": "9.4.2",
|
|
49
|
+
"@wdio/utils": "9.4.2",
|
|
50
50
|
"async-exit-hook": "^2.0.1",
|
|
51
51
|
"chalk": "^5.2.0",
|
|
52
52
|
"chokidar": "^4.0.0",
|
|
53
|
-
"cli-spinners": "^3.0.0",
|
|
54
53
|
"dotenv": "^16.3.1",
|
|
55
54
|
"ejs": "^3.1.9",
|
|
56
55
|
"execa": "^9.2.0",
|
|
@@ -62,7 +61,7 @@
|
|
|
62
61
|
"read-pkg-up": "^10.0.0",
|
|
63
62
|
"recursive-readdir": "^2.2.3",
|
|
64
63
|
"tsx": "^4.7.2",
|
|
65
|
-
"webdriverio": "9.4.
|
|
64
|
+
"webdriverio": "9.4.2",
|
|
66
65
|
"yargs": "^17.7.2"
|
|
67
66
|
},
|
|
68
67
|
"devDependencies": {
|
|
@@ -78,5 +77,5 @@
|
|
|
78
77
|
"publishConfig": {
|
|
79
78
|
"access": "public"
|
|
80
79
|
},
|
|
81
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "e42d3e8d6958fd9a734fe1d9a9768357b6045893"
|
|
82
81
|
}
|