testdriverai 4.0.37 → 4.0.38

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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -469,7 +469,9 @@ const generate = async (type) => {
469
469
  if (!fs.existsSync(path.join(process.cwd(), 'testdriver', 'generate'))) {
470
470
  fs.mkdirSync(path.join(process.cwd(), 'testdriver', 'generate'));
471
471
  }
472
- let contents = testPrompt.listsOrdered[0].map((item, index) => `${index + 1}. /explore ${item}`).join('\n');
472
+ let list = testPrompt.listsOrdered[0];
473
+ list.append('/save');
474
+ let contents = list.map((item, index) => `${index + 1}. /explore ${item}`).join('\n');
473
475
  fs.writeFileSync(path1, contents);
474
476
  }
475
477
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.37",
3
+ "version": "4.0.38",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {