@wdio/cli 6.11.1 → 6.12.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,sBAAsB,EAAiB,MAAM,UAAU,CAAA;AAChE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,WAAW,CAAA;AAC/B,eAAO,MAAM,IAAI,4EAA4E,CAAA;AAE7F,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYV,CAAA;AAEV,eAAO,MAAM,OAAO;;;;;;;;;;;;GAKnB,CAAA;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,sBAAsB,EAAiB,MAAM,UAAU,CAAA;AAChE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,WAAW,CAAA;AAC/B,eAAO,MAAM,IAAI,4EAA4E,CAAA;AAE7F,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYV,CAAA;AAEV,eAAO,MAAM,OAAO;;;;;;;;;;;;GAKnB,CAAA;AAwHD,wBAAsB,OAAO,CAAC,IAAI,EAAE,sBAAsB,iBAMzD;AASD,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,UAAQ,EAAE,YAAY,iFAAY,8BAqB3H"}
|
package/build/commands/config.js
CHANGED
|
@@ -104,9 +104,6 @@ const runConfig = async function (useYarn, yes, exit = false) {
|
|
|
104
104
|
].join('", "')}"`;
|
|
105
105
|
console.log(util_1.default.format(constants_1.TS_COMPILER_INSTRUCTIONS, tsPkgs));
|
|
106
106
|
}
|
|
107
|
-
if (answers.isUsingCompiler === constants_1.COMPILER_OPTIONS.ts) {
|
|
108
|
-
console.log(util_1.default.format(constants_1.TS_SETUP_NOTE, syncExecution ? '@wdio/sync' : 'webdriverio', frameworkPackage.package));
|
|
109
|
-
}
|
|
110
107
|
console.log(constants_1.CONFIG_HELPER_SUCCESS_MESSAGE);
|
|
111
108
|
if (exit && !process.env.JEST_WORKER_ID) {
|
|
112
109
|
process.exit(0);
|
package/build/constants.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const EXCLUSIVE_SERVICES: {
|
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export declare const CONFIG_HELPER_INTRO = "\n=========================\nWDIO Configuration Helper\n=========================\n";
|
|
9
|
-
export declare const TS_SETUP_NOTE = "\nTo enable TypeScript support please add the following types to your tsconfig.json:\n- %s\n- %s\n\nFor more information, see https://webdriver.io/docs/typescript.html!\n";
|
|
10
9
|
export declare const CONFIG_HELPER_SUCCESS_MESSAGE = "\nConfiguration file was created successfully!\nTo run your tests, execute:\n$ npx wdio run wdio.conf.js\n";
|
|
11
10
|
export declare const ANDROID_CONFIG: {
|
|
12
11
|
platformName: string;
|
|
@@ -158,6 +157,9 @@ export declare const SUPPORTED_PACKAGES: {
|
|
|
158
157
|
}, {
|
|
159
158
|
readonly name: "ywinappdriver";
|
|
160
159
|
readonly value: "wdio-ywinappdriver-service$--$ywinappdriver";
|
|
160
|
+
}, {
|
|
161
|
+
readonly name: "performancetotal";
|
|
162
|
+
readonly value: "wdio-performancetotal-service$--$performancetotal";
|
|
161
163
|
}];
|
|
162
164
|
};
|
|
163
165
|
export declare const BACKEND_CHOICES: readonly ["On my local machine", "In the cloud using Experitest", "In the cloud using Sauce Labs", "In the cloud using Browserstack or Testingbot or LambdaTest or a different service", "I have my own Selenium cloud"];
|
|
@@ -401,8 +403,11 @@ export declare const QUESTIONNAIRE: ({
|
|
|
401
403
|
}, {
|
|
402
404
|
readonly name: "ywinappdriver";
|
|
403
405
|
readonly value: "wdio-ywinappdriver-service$--$ywinappdriver";
|
|
406
|
+
}, {
|
|
407
|
+
readonly name: "performancetotal";
|
|
408
|
+
readonly value: "wdio-performancetotal-service$--$performancetotal";
|
|
404
409
|
}];
|
|
405
|
-
default: ("wdio-chromedriver-service$--$chromedriver" | "@wdio/sauce-service$--$sauce" | "@wdio/testingbot-service$--$testingbot" | "@wdio/selenium-standalone-service$--$selenium-standalone" | "@wdio/devtools-service$--$devtools" | "@wdio/applitools-service$--$applitools" | "@wdio/browserstack-service$--$browserstack" | "@wdio/appium-service$--$appium" | "@wdio/firefox-profile-service$--$firefox-profile" | "@wdio/crossbrowsertesting-service$--$crossbrowsertesting" | "wdio-lambdatest-service$--$lambdatest" | "wdio-zafira-listener-service$--$zafira-listener" | "wdio-reportportal-service$--$reportportal" | "wdio-docker-service$--$docker" | "wdio-ui5-service$--$wdio-ui5" | "wdio-wiremock-service$--$wiremock" | "wdio-ng-apimock-service$--ng-apimock" | "wdio-slack-service$--$slack" | "wdio-intercept-service$--$intercept" | "wdio-image-comparison-service$--$visual-regression-testing" | "wdio-novus-visual-regression-service$--$novus-visual-regression" | "wdio-rerun-service$--$rerun" | "wdio-winappdriver-service$--$winappdriver" | "wdio-ywinappdriver-service$--$ywinappdriver")[];
|
|
410
|
+
default: ("wdio-chromedriver-service$--$chromedriver" | "@wdio/sauce-service$--$sauce" | "@wdio/testingbot-service$--$testingbot" | "@wdio/selenium-standalone-service$--$selenium-standalone" | "@wdio/devtools-service$--$devtools" | "@wdio/applitools-service$--$applitools" | "@wdio/browserstack-service$--$browserstack" | "@wdio/appium-service$--$appium" | "@wdio/firefox-profile-service$--$firefox-profile" | "@wdio/crossbrowsertesting-service$--$crossbrowsertesting" | "wdio-lambdatest-service$--$lambdatest" | "wdio-zafira-listener-service$--$zafira-listener" | "wdio-reportportal-service$--$reportportal" | "wdio-docker-service$--$docker" | "wdio-ui5-service$--$wdio-ui5" | "wdio-wiremock-service$--$wiremock" | "wdio-ng-apimock-service$--ng-apimock" | "wdio-slack-service$--$slack" | "wdio-intercept-service$--$intercept" | "wdio-image-comparison-service$--$visual-regression-testing" | "wdio-novus-visual-regression-service$--$novus-visual-regression" | "wdio-rerun-service$--$rerun" | "wdio-winappdriver-service$--$winappdriver" | "wdio-ywinappdriver-service$--$ywinappdriver" | "wdio-performancetotal-service$--$performancetotal")[];
|
|
406
411
|
validate: (answers: any) => string | Boolean;
|
|
407
412
|
when?: undefined;
|
|
408
413
|
} | {
|
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAED,eAAO,MAAM,mBAAmB,wFAI/B,CAAA;AAED,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,QAAqE,CAAA;AAE9F,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAA;AAED,eAAO,MAAM,mBAAmB,wFAI/B,CAAA;AAED,eAAO,MAAM,6BAA6B,+GAIzC,CAAA;AAED,eAAO,MAAM,cAAc;;;;CAI1B,CAAA;AAED,eAAO,MAAM,UAAU;;;;CAItB,CAAA;AAED,eAAO,MAAM,uBAAuB,iGAI1B,CAAA;AAEV,eAAO,MAAM,gBAAgB;;;;CAInB,CAAA;AAEV,eAAO,MAAM,wBAAwB,qQAQpC,CAAA;AAMD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DrB,CAAA;AAEV,eAAO,MAAM,eAAe,0NAMlB,CAAA;AAEV,eAAO,MAAM,gBAAgB,4BAGnB,CAAA;AAEV,eAAO,MAAM,aAAa,uBAGhB,CAAA;AAEV,eAAO,MAAM,YAAY,4BAGf,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;oBAgBqB,GAAG;;;;;;;;;;oBA+BH,GAAG;;;;;;;oBA0BH,GAAG;;;;;;;;oBA8BH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAyDH,GAAG;;;;;;;uBAKA,GAAG;oBAKN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+BC,GAAG;;;;;;;;;;IAwBpD,CAAA"}
|
package/build/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QUESTIONNAIRE = exports.MODE_OPTIONS = exports.REGION_OPTION = exports.PROTOCOL_OPTIONS = exports.BACKEND_CHOICES = exports.SUPPORTED_PACKAGES = exports.TS_COMPILER_INSTRUCTIONS = exports.COMPILER_OPTIONS = exports.COMPILER_OPTION_ANSWERS = exports.IOS_CONFIG = exports.ANDROID_CONFIG = exports.CONFIG_HELPER_SUCCESS_MESSAGE = exports.
|
|
3
|
+
exports.QUESTIONNAIRE = exports.MODE_OPTIONS = exports.REGION_OPTION = exports.PROTOCOL_OPTIONS = exports.BACKEND_CHOICES = exports.SUPPORTED_PACKAGES = exports.TS_COMPILER_INSTRUCTIONS = exports.COMPILER_OPTIONS = exports.COMPILER_OPTION_ANSWERS = exports.IOS_CONFIG = exports.ANDROID_CONFIG = exports.CONFIG_HELPER_SUCCESS_MESSAGE = exports.CONFIG_HELPER_INTRO = exports.EXCLUSIVE_SERVICES = exports.CLI_EPILOGUE = void 0;
|
|
4
4
|
const utils_1 = require("./utils");
|
|
5
5
|
const pkg = require('../package.json');
|
|
6
6
|
exports.CLI_EPILOGUE = `Documentation: https://webdriver.io\n@wdio/cli (v${pkg.version})`;
|
|
@@ -15,13 +15,6 @@ exports.CONFIG_HELPER_INTRO = `
|
|
|
15
15
|
WDIO Configuration Helper
|
|
16
16
|
=========================
|
|
17
17
|
`;
|
|
18
|
-
exports.TS_SETUP_NOTE = `
|
|
19
|
-
To enable TypeScript support please add the following types to your tsconfig.json:
|
|
20
|
-
- %s
|
|
21
|
-
- %s
|
|
22
|
-
|
|
23
|
-
For more information, see https://webdriver.io/docs/typescript.html!
|
|
24
|
-
`;
|
|
25
18
|
exports.CONFIG_HELPER_SUCCESS_MESSAGE = `
|
|
26
19
|
Configuration file was created successfully!
|
|
27
20
|
To run your tests, execute:
|
|
@@ -106,7 +99,8 @@ exports.SUPPORTED_PACKAGES = {
|
|
|
106
99
|
{ name: 'novus-visual-regression', value: 'wdio-novus-visual-regression-service$--$novus-visual-regression' },
|
|
107
100
|
{ name: 'rerun', value: 'wdio-rerun-service$--$rerun' },
|
|
108
101
|
{ name: 'winappdriver', value: 'wdio-winappdriver-service$--$winappdriver' },
|
|
109
|
-
{ name: 'ywinappdriver', value: 'wdio-ywinappdriver-service$--$ywinappdriver' }
|
|
102
|
+
{ name: 'ywinappdriver', value: 'wdio-ywinappdriver-service$--$ywinappdriver' },
|
|
103
|
+
{ name: 'performancetotal', value: 'wdio-performancetotal-service$--$performancetotal' }
|
|
110
104
|
]
|
|
111
105
|
};
|
|
112
106
|
exports.BACKEND_CHOICES = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.1",
|
|
4
4
|
"description": "WebdriverIO testrunner command line interface",
|
|
5
5
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-cli",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/lodash.pickby": "^4.6.6",
|
|
37
37
|
"@types/lodash.union": "^4.6.6",
|
|
38
38
|
"@types/recursive-readdir": "^2.2.0",
|
|
39
|
-
"@wdio/config": "6.
|
|
39
|
+
"@wdio/config": "6.12.1",
|
|
40
40
|
"@wdio/logger": "6.10.10",
|
|
41
41
|
"@wdio/utils": "6.11.0",
|
|
42
42
|
"async-exit-hook": "^2.0.1",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"lodash.union": "^4.6.0",
|
|
52
52
|
"mkdirp": "^1.0.4",
|
|
53
53
|
"recursive-readdir": "^2.2.2",
|
|
54
|
-
"webdriverio": "6.
|
|
54
|
+
"webdriverio": "6.12.1",
|
|
55
55
|
"yargs": "^16.0.3",
|
|
56
56
|
"yarn-install": "^1.0.0"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "063970498c9b1142482a1a035aa699c64cc8215c"
|
|
62
62
|
}
|