@midscene/cli 1.7.7-beta-20260429033400.0 → 1.7.7
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/dist/es/index.mjs +7 -4
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/index.js +6 -3
- package/dist/lib/index.js.map +1 -1
- package/package.json +7 -7
package/dist/lib/index.js
CHANGED
|
@@ -3017,7 +3017,9 @@ var __webpack_modules__ = {
|
|
|
3017
3017
|
const cli_namespaceObject = require("@midscene/shared/cli");
|
|
3018
3018
|
var main = __webpack_require__("../../node_modules/.pnpm/dotenv@16.4.5/node_modules/dotenv/lib/main.js");
|
|
3019
3019
|
var main_default = /*#__PURE__*/ __webpack_require__.n(main);
|
|
3020
|
-
var package_namespaceObject =
|
|
3020
|
+
var package_namespaceObject = {
|
|
3021
|
+
rE: "1.7.7"
|
|
3022
|
+
};
|
|
3021
3023
|
const yaml_namespaceObject = require("@midscene/core/yaml");
|
|
3022
3024
|
const common_namespaceObject = require("@midscene/shared/common");
|
|
3023
3025
|
const puppeteer_agent_launcher_namespaceObject = require("@midscene/web/puppeteer-agent-launcher");
|
|
@@ -3159,7 +3161,8 @@ var __webpack_modules__ = {
|
|
|
3159
3161
|
});
|
|
3160
3162
|
});
|
|
3161
3163
|
function resolveReportFileName(yamlReportFileName, cliTestId, yamlTestId, fileName) {
|
|
3162
|
-
|
|
3164
|
+
const baseName = yamlReportFileName ?? cliTestId ?? yamlTestId ?? fileName;
|
|
3165
|
+
return (0, agent_namespaceObject.getReportFileName)(baseName);
|
|
3163
3166
|
}
|
|
3164
3167
|
function buildAgentOptions(yamlAgent, reportFileName, fileName) {
|
|
3165
3168
|
return {
|
|
@@ -11978,7 +11981,7 @@ Usage:
|
|
|
11978
11981
|
type: 'boolean',
|
|
11979
11982
|
description: `Turn on logging to help debug why certain keys or values are not being set as you expect, default is ${config_factory_defaultConfig.dotenvDebug}`
|
|
11980
11983
|
}
|
|
11981
|
-
}).version('version', 'Show version number', "1.7.7
|
|
11984
|
+
}).version('version', 'Show version number', "1.7.7").help().epilogue(`For complete list of configuration options, please visit:
|
|
11982
11985
|
• Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
|
|
11983
11986
|
• Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
11984
11987
|
• iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|