testilo 39.0.3 → 39.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testilo",
3
- "version": "39.0.3",
3
+ "version": "39.1.0",
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;