testdriverai 4.0.12 → 4.0.14

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/index.js CHANGED
@@ -72,8 +72,8 @@ let getArgs = () => {
72
72
  }
73
73
 
74
74
  // turn args[file] into local path
75
- if (args[file] && args[file].indexOf('/') == -file) {
76
- args[file] = `${__dirname}/${args[file]}`
75
+ if (args[file]) {
76
+ args[file] = `${process.cwd()}/${args[file]}`
77
77
  if (!args[file].endsWith('.yml')) {
78
78
  args[file] += '.yml';
79
79
  }
@@ -88,6 +88,7 @@ const thisFile = a.file;
88
88
  const thisCommand = a.command;
89
89
 
90
90
  log.log('info', chalk.green(`Howdy! I'm TestDriver v${package.version}`))
91
+ log.log('info', chalk.dim(`Working on ${thisFile}`))
91
92
  console.log('')
92
93
  log.log('info', `Join our Discord for help`);
93
94
  log.log('info', chalk.yellow(`https://discord.com/invite/cWDFW8DzPm`));
@@ -723,7 +724,7 @@ let run = async (file, overwrite = false) => {
723
724
  for (const step of ymlObj.steps) {
724
725
 
725
726
  log.log('info', ``, null);
726
- log.log('info', chalk.cyan(` ${step.prompt || 'no prompt'} `), null);
727
+ log.log('info', chalk.cyan(`${step.prompt || 'no prompt'}`), null);
727
728
 
728
729
  executionHistory.push({
729
730
  prompt: step.prompt,
package/lib/commands.js CHANGED
@@ -217,6 +217,7 @@ let commands = {
217
217
  button,
218
218
  clickType,
219
219
  description,
220
+ displayMultiple: await getDisplayMultiple()
220
221
  });
221
222
 
222
223
  if (!response.data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.12",
3
+ "version": "4.0.14",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {