testaro 5.5.0 → 5.5.1
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/create.js +3 -1
- package/package.json +1 -1
- package/tests/hover.js +11 -6
package/create.js
CHANGED
|
@@ -121,7 +121,9 @@ exports.runJob = async (scriptID, batchID) => {
|
|
|
121
121
|
console.log(`Reports not created:\n${JSON.stringify(timeoutHosts), null, 2}`);
|
|
122
122
|
}
|
|
123
123
|
if (crashHosts.length) {
|
|
124
|
-
console.log(
|
|
124
|
+
console.log(
|
|
125
|
+
`Hosts crashed with or without report:\n${JSON.stringify(crashHosts, null, 2)}`
|
|
126
|
+
);
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
129
|
};
|
package/package.json
CHANGED
package/tests/hover.js
CHANGED
|
@@ -190,12 +190,17 @@ const find = async (data, withItems, page, region, sample, popRatio) => {
|
|
|
190
190
|
console.log(`ERROR hovering (${error.message.replace(/\n.+/s, '')})`);
|
|
191
191
|
data.totals.unhoverables++;
|
|
192
192
|
if (withItems) {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
try {
|
|
194
|
+
const id = await firstTrigger.getAttribute('id');
|
|
195
|
+
data.items[region].unhoverables.push({
|
|
196
|
+
tagName,
|
|
197
|
+
id: id || '',
|
|
198
|
+
text: await textOf(firstTrigger, 50)
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
catch(error) {
|
|
202
|
+
console.log('ERROR itemizing unhoverable element');
|
|
203
|
+
}
|
|
199
204
|
}
|
|
200
205
|
}
|
|
201
206
|
}
|