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 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` = `false`
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "39.0.3",
3
+ "version": "39.1.1",
4
4
  "description": "Prepares Testaro jobs and processes Testaro reports",
5
5
  "main": "call.js",
6
6
  "scripts": {
@@ -8697,7 +8697,7 @@ exports.issues = {
8697
8697
  }
8698
8698
  },
8699
8699
  encodingMisdeclared: {
8700
- summary: 'text not Unicode-compliant',
8700
+ summary: 'text encoding wrongly declared',
8701
8701
  why: 'User cannot read all of the text',
8702
8702
  wcag: '3.1.3',
8703
8703
  weight: 4,
@@ -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 = false;
227
+ toolAct.withNewContent = true;
228
228
  }
229
229
  else if (toolID === 'qualWeb') {
230
230
  toolAct.withNewContent = false;