testaro 2.2.6 → 2.2.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.
Files changed (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1134,14 +1134,14 @@ const doBatch = async (options, reportTemplate, hostIndex = 0) => {
1134
1134
  // Add the host’s ID to the host report.
1135
1135
  hostReport.hostName = host.id;
1136
1136
  // Add data from the template to the host report.
1137
- hostReport.orderName = reportTemplate.id;
1137
+ hostReport.orderName = options.id;
1138
1138
  hostReport.id = `${options.id}-${host.id}`;
1139
- hostReport.orderUserName = reportTemplate.userName;
1140
- hostReport.orderTime = reportTemplate.orderTime;
1141
- hostReport.scriptName = reportTemplate.scriptName;
1142
- hostReport.batchName = reportTemplate.batchName;
1143
- hostReport.scriptIsValid = reportTemplate.scriptIsValid;
1144
- hostReport.batchIsValid = reportTemplate.batchIsValid;
1139
+ hostReport.orderUserName = options.userName;
1140
+ hostReport.orderTime = options.orderTime;
1141
+ hostReport.scriptName = options.scriptName;
1142
+ hostReport.batchName = options.batchName;
1143
+ hostReport.scriptIsValid = options.scriptIsValid;
1144
+ hostReport.batchIsValid = options.batchIsValid;
1145
1145
  hostReport.host = host;
1146
1146
  // Perform the commands on the host and add a report to the options object.
1147
1147
  await doScript(options, hostReport);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {