@wdio/cli 8.5.8 → 8.6.0
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
|
@@ -58,6 +58,9 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, str
|
|
|
58
58
|
} | {
|
|
59
59
|
readonly desc: "exclude certain spec file from the test run - overrides exclude piped from stdin";
|
|
60
60
|
readonly type: "array";
|
|
61
|
+
} | {
|
|
62
|
+
readonly desc: "Run individual spec files x amount of times";
|
|
63
|
+
readonly type: "number";
|
|
61
64
|
} | {
|
|
62
65
|
readonly desc: "Mocha options";
|
|
63
66
|
} | {
|
|
@@ -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
|
@@ -71,6 +71,10 @@ export declare const cmdArgs: {
|
|
|
71
71
|
readonly desc: "exclude certain spec file from the test run - overrides exclude piped from stdin";
|
|
72
72
|
readonly type: "array";
|
|
73
73
|
};
|
|
74
|
+
readonly 'multi-run': {
|
|
75
|
+
readonly desc: "Run individual spec files x amount of times";
|
|
76
|
+
readonly type: "number";
|
|
77
|
+
};
|
|
74
78
|
readonly mochaOpts: {
|
|
75
79
|
readonly desc: "Mocha options";
|
|
76
80
|
};
|
|
@@ -87,7 +91,7 @@ export declare const cmdArgs: {
|
|
|
87
91
|
readonly desc: "Enable coverage for browser runner";
|
|
88
92
|
};
|
|
89
93
|
};
|
|
90
|
-
export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "framework" | "reporters" | "hostname" | "port" | "path" | "baseUrl" | "exclude" | "user" | "key" | "logLevel" | "spec" | "waitforTimeout" | "coverage" | "watch" | "bail" | "suite" | "mochaOpts" | "jasmineOpts" | "cucumberOpts" | "autoCompileOpts"> & import("yargs").InferredOptionTypes<{
|
|
94
|
+
export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "framework" | "reporters" | "hostname" | "port" | "path" | "baseUrl" | "exclude" | "user" | "key" | "logLevel" | "spec" | "waitforTimeout" | "coverage" | "watch" | "bail" | "suite" | "mochaOpts" | "jasmineOpts" | "cucumberOpts" | "autoCompileOpts" | "multi-run"> & import("yargs").InferredOptionTypes<{
|
|
91
95
|
readonly watch: {
|
|
92
96
|
readonly desc: "Run WebdriverIO in watch mode";
|
|
93
97
|
readonly type: "boolean";
|
|
@@ -156,6 +160,10 @@ export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "fr
|
|
|
156
160
|
readonly desc: "exclude certain spec file from the test run - overrides exclude piped from stdin";
|
|
157
161
|
readonly type: "array";
|
|
158
162
|
};
|
|
163
|
+
readonly 'multi-run': {
|
|
164
|
+
readonly desc: "Run individual spec files x amount of times";
|
|
165
|
+
readonly type: "number";
|
|
166
|
+
};
|
|
159
167
|
readonly mochaOpts: {
|
|
160
168
|
readonly desc: "Mocha options";
|
|
161
169
|
};
|
|
@@ -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;AAE1F,eAAO,MAAM,OAAO
|
|
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;AAE1F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFV,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;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,mBAAmB,yBAyEtD"}
|
package/build/commands/run.js
CHANGED
|
@@ -76,6 +76,10 @@ export const cmdArgs = {
|
|
|
76
76
|
desc: 'exclude certain spec file from the test run - overrides exclude piped from stdin',
|
|
77
77
|
type: 'array'
|
|
78
78
|
},
|
|
79
|
+
'multi-run': {
|
|
80
|
+
desc: 'Run individual spec files x amount of times',
|
|
81
|
+
type: 'number'
|
|
82
|
+
},
|
|
79
83
|
mochaOpts: {
|
|
80
84
|
desc: 'Mocha options'
|
|
81
85
|
},
|
|
@@ -27,10 +27,10 @@ export const config: Options.Testrunner = {<%
|
|
|
27
27
|
%>,<%
|
|
28
28
|
if (answers.isUsingTypeScript) { %>
|
|
29
29
|
autoCompileOpts: {
|
|
30
|
-
autoCompile:
|
|
30
|
+
autoCompile: true,
|
|
31
31
|
tsNodeOpts: {
|
|
32
32
|
project: '<%- answers.tsProject %>',
|
|
33
|
-
transpileOnly:
|
|
33
|
+
transpileOnly: true
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
<% } %>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.0",
|
|
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",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"typeScriptVersion": "3.8.3",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@types/node": "^18.0.0",
|
|
37
|
-
"@wdio/config": "8.
|
|
38
|
-
"@wdio/globals": "8.
|
|
37
|
+
"@wdio/config": "8.6.0",
|
|
38
|
+
"@wdio/globals": "8.6.0",
|
|
39
39
|
"@wdio/logger": "8.1.0",
|
|
40
40
|
"@wdio/protocols": "8.5.7",
|
|
41
41
|
"@wdio/types": "8.4.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"mkdirp": "^2.0.0",
|
|
55
55
|
"read-pkg-up": "9.1.0",
|
|
56
56
|
"recursive-readdir": "^2.2.2",
|
|
57
|
-
"webdriverio": "8.
|
|
57
|
+
"webdriverio": "8.6.0",
|
|
58
58
|
"yargs": "^17.5.1",
|
|
59
59
|
"yarn-install": "^1.0.0"
|
|
60
60
|
},
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "6493767c2eed994c0de45321aea89504d3c2f955"
|
|
75
75
|
}
|