testaro 68.0.1 → 69.0.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/package.json +1 -1
- package/tests/htmlcs.js +3 -3
package/package.json
CHANGED
package/tests/htmlcs.js
CHANGED
|
@@ -126,10 +126,10 @@ exports.reporter = async (page, report, actIndex) => {
|
|
|
126
126
|
// Increment the warning total.
|
|
127
127
|
nativeResult.totals.cantTell++;
|
|
128
128
|
}
|
|
129
|
-
// If standard results are to be reported:
|
|
130
|
-
if (standard) {
|
|
129
|
+
// If standard results are to be reported and the message reports an error or warning:
|
|
130
|
+
if (standard && ['Error', 'Warning'].includes(parts[0])) {
|
|
131
131
|
const instance = {
|
|
132
|
-
ruleID: parts[1]
|
|
132
|
+
ruleID: `${parts[0][0]}-${parts[1]}`,
|
|
133
133
|
what: parts[4],
|
|
134
134
|
ordinalSeverity: parts[0] === 'Warning' ? 0 : 2,
|
|
135
135
|
count: 1
|