@midscene/cli 1.10.9-beta-20260804015945.0 → 1.10.9
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/framework/index.mjs +7 -1
- package/dist/es/framework/index.mjs.map +1 -1
- package/dist/es/index.mjs +11 -3
- package/dist/es/index.mjs.map +1 -1
- package/dist/lib/framework/index.js +7 -1
- package/dist/lib/framework/index.js.map +1 -1
- package/dist/lib/index.js +11 -3
- package/dist/lib/index.js.map +1 -1
- package/package.json +8 -8
package/dist/lib/index.js
CHANGED
|
@@ -4432,8 +4432,14 @@ defineYamlBatchTest(test, testOptions);
|
|
|
4432
4432
|
(0, external_node_fs_.mkdirSync)(resultDir, {
|
|
4433
4433
|
recursive: true
|
|
4434
4434
|
});
|
|
4435
|
+
const resultYamlFiles = options.batchConfig ? [
|
|
4436
|
+
...options.batchConfig.setup ? [
|
|
4437
|
+
options.batchConfig.setup
|
|
4438
|
+
] : [],
|
|
4439
|
+
...options.batchConfig.files
|
|
4440
|
+
] : options.files;
|
|
4435
4441
|
const virtualModules = {};
|
|
4436
|
-
const cases =
|
|
4442
|
+
const cases = resultYamlFiles.map((file, index)=>{
|
|
4437
4443
|
const yamlFile = (0, external_node_path_.resolve)(file);
|
|
4438
4444
|
const testName = resolveTestName(projectDir, yamlFile);
|
|
4439
4445
|
const fileStem = safeFileStem(yamlFile, index);
|
|
@@ -4696,7 +4702,9 @@ defineYamlBatchTest(test, testOptions);
|
|
|
4696
4702
|
"use strict";
|
|
4697
4703
|
var core_ = __webpack_require__("@midscene/core");
|
|
4698
4704
|
const cli_namespaceObject = require("@midscene/shared/cli");
|
|
4699
|
-
var package_namespaceObject =
|
|
4705
|
+
var package_namespaceObject = {
|
|
4706
|
+
rE: "1.10.9"
|
|
4707
|
+
};
|
|
4700
4708
|
var external_node_fs_ = __webpack_require__("node:fs");
|
|
4701
4709
|
var external_node_fs_namespaceObject = /*#__PURE__*/ __webpack_require__.t(external_node_fs_, 2);
|
|
4702
4710
|
var external_node_path_ = __webpack_require__("node:path");
|
|
@@ -12583,7 +12591,7 @@ Usage:
|
|
|
12583
12591
|
type: 'boolean',
|
|
12584
12592
|
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}`
|
|
12585
12593
|
}
|
|
12586
|
-
}).version('version', 'Show version number', "1.10.9
|
|
12594
|
+
}).version('version', 'Show version number', "1.10.9").help().epilogue(`For complete list of configuration options, please visit:
|
|
12587
12595
|
• Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
|
|
12588
12596
|
• Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
|
|
12589
12597
|
• iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
|