@wdio/cli 8.16.17 → 8.16.19
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/repl.d.ts
CHANGED
|
@@ -63,10 +63,25 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, str
|
|
|
63
63
|
readonly type: "number";
|
|
64
64
|
} | {
|
|
65
65
|
readonly desc: "Mocha options";
|
|
66
|
+
readonly coerce: (opts: {
|
|
67
|
+
[x: string]: string | number | boolean;
|
|
68
|
+
}) => {
|
|
69
|
+
[x: string]: string | number | boolean;
|
|
70
|
+
};
|
|
66
71
|
} | {
|
|
67
72
|
readonly desc: "Jasmine options";
|
|
73
|
+
readonly coerce: (opts: {
|
|
74
|
+
[x: string]: string | number | boolean;
|
|
75
|
+
}) => {
|
|
76
|
+
[x: string]: string | number | boolean;
|
|
77
|
+
};
|
|
68
78
|
} | {
|
|
69
79
|
readonly desc: "Cucumber options";
|
|
80
|
+
readonly coerce: (opts: {
|
|
81
|
+
[x: string]: string | number | boolean;
|
|
82
|
+
}) => {
|
|
83
|
+
[x: string]: string | number | boolean;
|
|
84
|
+
};
|
|
70
85
|
} | {
|
|
71
86
|
readonly desc: "Auto compilation options";
|
|
72
87
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../src/commands/repl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAK1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAOvD,eAAO,MAAM,OAAO,iCAAiC,CAAA;AACrD,eAAO,MAAM,IAAI,0CAA0C,CAAA;AAC3D,eAAO,MAAM,OAAO,EAAE;KAAG,CAAC,IAAI,MAAM,oBAAoB,CAAC,CAAC,EAAE,OAAO;CAgBzD,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI
|
|
1
|
+
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../../src/commands/repl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAK1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAOvD,eAAO,MAAM,OAAO,iCAAiC,CAAA;AACrD,eAAO,MAAM,IAAI,0CAA0C,CAAA;AAC3D,eAAO,MAAM,OAAO,EAAE;KAAG,CAAC,IAAI,MAAM,oBAAoB,CAAC,CAAC,EAAE,OAAO;CAgBzD,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYlC,CAAA;AAED,eAAO,MAAM,OAAO,SAAgB,oBAAoB,kBAUvD,CAAA"}
|
package/build/commands/run.d.ts
CHANGED
|
@@ -77,12 +77,27 @@ export declare const cmdArgs: {
|
|
|
77
77
|
};
|
|
78
78
|
readonly mochaOpts: {
|
|
79
79
|
readonly desc: "Mocha options";
|
|
80
|
+
readonly coerce: (opts: {
|
|
81
|
+
[x: string]: string | number | boolean;
|
|
82
|
+
}) => {
|
|
83
|
+
[x: string]: string | number | boolean;
|
|
84
|
+
};
|
|
80
85
|
};
|
|
81
86
|
readonly jasmineOpts: {
|
|
82
87
|
readonly desc: "Jasmine options";
|
|
88
|
+
readonly coerce: (opts: {
|
|
89
|
+
[x: string]: string | number | boolean;
|
|
90
|
+
}) => {
|
|
91
|
+
[x: string]: string | number | boolean;
|
|
92
|
+
};
|
|
83
93
|
};
|
|
84
94
|
readonly cucumberOpts: {
|
|
85
95
|
readonly desc: "Cucumber options";
|
|
96
|
+
readonly coerce: (opts: {
|
|
97
|
+
[x: string]: string | number | boolean;
|
|
98
|
+
}) => {
|
|
99
|
+
[x: string]: string | number | boolean;
|
|
100
|
+
};
|
|
86
101
|
};
|
|
87
102
|
readonly autoCompileOpts: {
|
|
88
103
|
readonly desc: "Auto compilation options";
|
|
@@ -166,12 +181,27 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
|
|
|
166
181
|
};
|
|
167
182
|
readonly mochaOpts: {
|
|
168
183
|
readonly desc: "Mocha options";
|
|
184
|
+
readonly coerce: (opts: {
|
|
185
|
+
[x: string]: string | number | boolean;
|
|
186
|
+
}) => {
|
|
187
|
+
[x: string]: string | number | boolean;
|
|
188
|
+
};
|
|
169
189
|
};
|
|
170
190
|
readonly jasmineOpts: {
|
|
171
191
|
readonly desc: "Jasmine options";
|
|
192
|
+
readonly coerce: (opts: {
|
|
193
|
+
[x: string]: string | number | boolean;
|
|
194
|
+
}) => {
|
|
195
|
+
[x: string]: string | number | boolean;
|
|
196
|
+
};
|
|
172
197
|
};
|
|
173
198
|
readonly cucumberOpts: {
|
|
174
199
|
readonly desc: "Cucumber options";
|
|
200
|
+
readonly coerce: (opts: {
|
|
201
|
+
[x: string]: string | number | boolean;
|
|
202
|
+
}) => {
|
|
203
|
+
[x: string]: string | number | boolean;
|
|
204
|
+
};
|
|
175
205
|
};
|
|
176
206
|
readonly autoCompileOpts: {
|
|
177
207
|
readonly desc: "Auto compilation options";
|
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FV,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUlC,CAAA;AAED,wBAAgB,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,QAczF;AAED,wBAAsB,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,iBAgBtF;AAMD,wBAAsB,OAAO,CAAC,IAAI,EAAE,mBAAmB,yBAqFtD"}
|
package/build/commands/run.js
CHANGED
|
@@ -7,6 +7,17 @@ import { formatConfigFilePaths, canAccessConfigPath, missingConfigurationPrompt
|
|
|
7
7
|
import { CLI_EPILOGUE } from '../constants.js';
|
|
8
8
|
export const command = 'run <configPath>';
|
|
9
9
|
export const desc = 'Run your WDIO configuration file to initialize your tests. (default)';
|
|
10
|
+
const coerceOpts = (opts) => {
|
|
11
|
+
for (const key in opts) {
|
|
12
|
+
if (opts[key] === 'true') {
|
|
13
|
+
opts[key] = true;
|
|
14
|
+
}
|
|
15
|
+
else if (opts[key] === 'false') {
|
|
16
|
+
opts[key] = false;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return opts;
|
|
20
|
+
};
|
|
10
21
|
export const cmdArgs = {
|
|
11
22
|
watch: {
|
|
12
23
|
desc: 'Run WebdriverIO in watch mode',
|
|
@@ -81,13 +92,16 @@ export const cmdArgs = {
|
|
|
81
92
|
type: 'number'
|
|
82
93
|
},
|
|
83
94
|
mochaOpts: {
|
|
84
|
-
desc: 'Mocha options'
|
|
95
|
+
desc: 'Mocha options',
|
|
96
|
+
coerce: coerceOpts
|
|
85
97
|
},
|
|
86
98
|
jasmineOpts: {
|
|
87
|
-
desc: 'Jasmine options'
|
|
99
|
+
desc: 'Jasmine options',
|
|
100
|
+
coerce: coerceOpts
|
|
88
101
|
},
|
|
89
102
|
cucumberOpts: {
|
|
90
|
-
desc: 'Cucumber options'
|
|
103
|
+
desc: 'Cucumber options',
|
|
104
|
+
coerce: coerceOpts
|
|
91
105
|
},
|
|
92
106
|
autoCompileOpts: {
|
|
93
107
|
desc: 'Auto compilation options'
|
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9C,eAAO,MAAM,GAAG,KAA6B,CAAA;AAE7C,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,mBAAmB,8HAI/B,CAAA;AAED,eAAO,MAAM,+BAA+B,UAA2C,CAAA;AACvF,eAAO,MAAM,6BAA6B,ucAYzC,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,oBAAY,eAAe;IACvB,KAAK,gCAAgC;IACrC,EAAE,iDAAiD;IACnD,GAAG,QAAQ;CACd;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAKA,OA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AkBqB,YAAY;;;;;;;oBAkBX,YAAY;;;;;;;;;;;oBAOb,YAAY;;;;;;;;;;oBAgBX,YAAY;;;;;oBAQb,YAAY;;;;;;;;oBAMZ,YAAY;;;;;;;;oBAyBZ,YAAY;;;;;;oBAoDZ,YAAY;;;;;;;oBASZ,YAAY;;;;;;uBA0BR,YAAY;;;;;;;;;;uBAaxC,YAAY;uBASe,YAAY;;;;;;uBAmBZ,YAAY;oBAIf,YAAY;;;;;;uBAkCT,YAAY;oBAKf,YAAY;;;;;;;;;;;;;;;;uBAqBpC,YAAY;;;;uBAuBZ,YAAY;;;;;;;;;IA2DjC,CAAA"}
|
package/build/constants.js
CHANGED
|
@@ -84,8 +84,9 @@ export const SUPPORTED_PACKAGES = {
|
|
|
84
84
|
{ name: 'light', value: 'wdio-light-reporter--$light' }
|
|
85
85
|
],
|
|
86
86
|
plugin: [
|
|
87
|
-
{ name: 'wait-for', value: 'wdio-wait-for$--$wait-for' },
|
|
88
|
-
{ name: 'angular-component-harnesses', value: '@badisi/wdio-harness$--$harness' }
|
|
87
|
+
{ name: 'wait-for: utilities that provide functionalities to wait for certain conditions till a defined task is complete.\n > https://www.npmjs.com/package/wdio-wait-for', value: 'wdio-wait-for$--$wait-for' },
|
|
88
|
+
{ name: 'angular-component-harnesses: support for Angular component test harnesses\n > https://www.npmjs.com/package/@badisi/wdio-harness', value: '@badisi/wdio-harness$--$harness' },
|
|
89
|
+
{ name: 'Testing Library: utilities that encourage good testing practices laid down by dom-testing-library.\n > https://testing-library.com/docs/webdriverio-testing-library/intro', value: '@testing-library/webdriverio$--$testing-library' }
|
|
89
90
|
],
|
|
90
91
|
service: [
|
|
91
92
|
// internal or community driver services
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "8.16.
|
|
3
|
+
"version": "8.16.19",
|
|
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,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@types/node": "^20.1.1",
|
|
49
49
|
"@wdio/config": "8.16.17",
|
|
50
|
-
"@wdio/globals": "8.16.
|
|
50
|
+
"@wdio/globals": "8.16.19",
|
|
51
51
|
"@wdio/logger": "8.16.17",
|
|
52
52
|
"@wdio/protocols": "8.16.5",
|
|
53
53
|
"@wdio/types": "8.16.12",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"lodash.union": "^4.6.0",
|
|
67
67
|
"read-pkg-up": "10.1.0",
|
|
68
68
|
"recursive-readdir": "^2.2.3",
|
|
69
|
-
"webdriverio": "8.16.
|
|
69
|
+
"webdriverio": "8.16.19",
|
|
70
70
|
"yargs": "^17.7.2",
|
|
71
71
|
"yarn-install": "^1.0.0"
|
|
72
72
|
},
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "d05091c0a00cbe739f68ad8fd1fdcf577855002a"
|
|
87
87
|
}
|