testilo 39.0.3 → 39.1.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/README.md +1 -1
- package/package.json +1 -1
- package/procs/score/tic43.js +1 -1
- package/procs/score/tsp43.js +1 -1
- package/script.js +1 -1
package/README.md
CHANGED
|
@@ -383,7 +383,7 @@ When the `script` module creates a script for you, it does not ask you for all o
|
|
|
383
383
|
- `sources.id`: script ID
|
|
384
384
|
- `sources.requester`: `process.env.REQUESTER`, or `''` if none
|
|
385
385
|
- `axe` test act: `detailLevel` = 2
|
|
386
|
-
- `ibm` test act: `withItems` = `true`, `withNewContent` = `
|
|
386
|
+
- `ibm` test act: `withItems` = `true`, `withNewContent` = `true`
|
|
387
387
|
- `qualWeb` test act: `withNewContent` = `false`
|
|
388
388
|
- `testaro` test act: `withItems` = true, `stopOnFail` = `false`
|
|
389
389
|
- `wave` test act: `reportType` = 4
|
package/package.json
CHANGED
package/procs/score/tic43.js
CHANGED
package/procs/score/tsp43.js
CHANGED
|
@@ -324,7 +324,7 @@ exports.scorer = report => {
|
|
|
324
324
|
(total, current, index) => total + severityWeights[index] * current, 0
|
|
325
325
|
);
|
|
326
326
|
// Get the minimum count of violating elements.
|
|
327
|
-
const actRuleIDs = testActs.map(
|
|
327
|
+
const actRuleIDs = testActs.filter(act => act.standardResult).map(
|
|
328
328
|
act => act.standardResult.instances.map(instance => `${act.which}:${instance.ruleID}`)
|
|
329
329
|
);
|
|
330
330
|
const allRuleIDs = actRuleIDs.flat();
|
package/script.js
CHANGED
|
@@ -224,7 +224,7 @@ exports.script = (id, what, deviceID, options = {}) => {
|
|
|
224
224
|
}
|
|
225
225
|
else if (toolID === 'ibm') {
|
|
226
226
|
toolAct.withItems = true;
|
|
227
|
-
toolAct.withNewContent =
|
|
227
|
+
toolAct.withNewContent = true;
|
|
228
228
|
}
|
|
229
229
|
else if (toolID === 'qualWeb') {
|
|
230
230
|
toolAct.withNewContent = false;
|