testaro 14.9.2 → 14.9.4
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/actSpecs.js +1 -1
- package/package.json +1 -1
- package/testaro/hover.js +2 -2
package/actSpecs.js
CHANGED
|
@@ -184,7 +184,7 @@ exports.actSpecs = {
|
|
|
184
184
|
'Perform Testaro tests',
|
|
185
185
|
{
|
|
186
186
|
withItems: [true, 'boolean', '', 'itemize'],
|
|
187
|
-
args: [false, 'object', 'areArrays', 'extra args (object
|
|
187
|
+
args: [false, 'object', 'areArrays', 'extra args (object; property names are rule IDs and values are arrays of additional argument values ({focInd: [false, 250], hover: [20], motion: [2500, 2500, 5]} by default'],
|
|
188
188
|
}
|
|
189
189
|
],
|
|
190
190
|
wave: [
|
package/package.json
CHANGED
package/testaro/hover.js
CHANGED
|
@@ -310,7 +310,7 @@ const find = async (data, withItems, page, sample) => {
|
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
// Performs the hover test and reports results.
|
|
313
|
-
exports.reporter = async (page, withItems, sampleSize =
|
|
313
|
+
exports.reporter = async (page, withItems, sampleSize = 20) => {
|
|
314
314
|
// Initialize the result.
|
|
315
315
|
let data = {
|
|
316
316
|
totals: {
|
|
@@ -406,7 +406,7 @@ exports.reporter = async (page, withItems, sampleSize = -1) => {
|
|
|
406
406
|
Object.keys(data.items).forEach(issue => {
|
|
407
407
|
data.items[issue].forEach(item => {
|
|
408
408
|
standardInstances.push({
|
|
409
|
-
ruleID:
|
|
409
|
+
ruleID: 'hover',
|
|
410
410
|
what: what[issue],
|
|
411
411
|
count: data.totals[issue],
|
|
412
412
|
ordinalSeverity: severity[issue],
|