@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/index.mjs CHANGED
@@ -3025,7 +3025,9 @@ var __webpack_modules__ = {
3025
3025
  module.exports = (string, columns, options)=>String(string).normalize().replace(/\r\n/g, '\n').split('\n').map((line)=>exec(line, columns, options)).join('\n');
3026
3026
  },
3027
3027
  "./src/index.ts" (__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
3028
- var package_namespaceObject = JSON.parse('{"rE":"1.10.9-beta-20260804015945.0"}');
3028
+ var package_namespaceObject = {
3029
+ rE: "1.10.9"
3030
+ };
3029
3031
  var brace_expansion = __webpack_require__("../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js");
3030
3032
  const MAX_PATTERN_LENGTH = 65536;
3031
3033
  const assertValidPattern = (pattern)=>{
@@ -10898,7 +10900,7 @@ Usage:
10898
10900
  type: 'boolean',
10899
10901
  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}`
10900
10902
  }
10901
- }).version('version', 'Show version number', "1.10.9-beta-20260804015945.0").help().epilogue(`For complete list of configuration options, please visit:
10903
+ }).version('version', 'Show version number', "1.10.9").help().epilogue(`For complete list of configuration options, please visit:
10902
10904
  • Web options: https://midscenejs.com/automate-with-scripts-in-yaml#the-web-part
10903
10905
  • Android options: https://midscenejs.com/automate-with-scripts-in-yaml#the-android-part
10904
10906
  • iOS options: https://midscenejs.com/automate-with-scripts-in-yaml#the-ios-part
@@ -12360,8 +12362,14 @@ defineYamlBatchTest(test, testOptions);
12360
12362
  (0, __rspack_external_node_fs_5ea92f0c.mkdirSync)(resultDir, {
12361
12363
  recursive: true
12362
12364
  });
12365
+ const resultYamlFiles = options.batchConfig ? [
12366
+ ...options.batchConfig.setup ? [
12367
+ options.batchConfig.setup
12368
+ ] : [],
12369
+ ...options.batchConfig.files
12370
+ ] : options.files;
12363
12371
  const virtualModules = {};
12364
- const cases = options.files.map((file, index)=>{
12372
+ const cases = resultYamlFiles.map((file, index)=>{
12365
12373
  const yamlFile = external_node_path_resolve(file);
12366
12374
  const testName = resolveTestName(projectDir, yamlFile);
12367
12375
  const fileStem = safeFileStem(yamlFile, index);