testaro 33.0.0 → 33.0.2
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 +2 -2
- package/run.js +5 -1
package/README.md
CHANGED
|
@@ -608,7 +608,7 @@ When no string pertains to a module, then QualWeb will test for all of the rules
|
|
|
608
608
|
|
|
609
609
|
Thus, when the `rules` argument is omitted, QualWeb will test for all of the rules in all of these modules.
|
|
610
610
|
|
|
611
|
-
The target can be provided to QualWeb either as an existing page or as a URL. Experience indicates that the results can differ between these methods, with each method reporting some rule violations or some instances that the other method does not report.
|
|
611
|
+
The target can be provided to QualWeb either as an existing page or as a URL. Experience indicates that the results can differ between these methods, with each method reporting some rule violations or some instances that the other method does not report. For at least some cases, more rules are reported violated when an existing page is provided (`withNewItems: false`).
|
|
612
612
|
|
|
613
613
|
##### Testaro
|
|
614
614
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testaro",
|
|
3
|
-
"version": "33.0.
|
|
4
|
-
"description": "Run
|
|
3
|
+
"version": "33.0.2",
|
|
4
|
+
"description": "Run 1000 web accessibility tests from 10 tools and get a standardized report",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"tests": "node validation/executors/tests",
|
package/run.js
CHANGED
|
@@ -1567,13 +1567,17 @@ const doActs = async (report, actIndex, page) => {
|
|
|
1567
1567
|
*/
|
|
1568
1568
|
exports.doJob = async report => {
|
|
1569
1569
|
// If the report is valid:
|
|
1570
|
+
report.jobData = {};
|
|
1571
|
+
const {jobData} = report;
|
|
1570
1572
|
const reportInvalidity = isValidReport(report);
|
|
1571
1573
|
if (reportInvalidity) {
|
|
1572
1574
|
console.log(`ERROR: ${reportInvalidity}`);
|
|
1575
|
+
jobData.aborted = true;
|
|
1576
|
+
jobData.abortedAct = null;
|
|
1577
|
+
jobData.abortError = reportInvalidity;
|
|
1573
1578
|
}
|
|
1574
1579
|
else {
|
|
1575
1580
|
// Add initialized job data to the report.
|
|
1576
|
-
report.jobData = {};
|
|
1577
1581
|
const startTime = new Date();
|
|
1578
1582
|
report.jobData.startTime = nowString();
|
|
1579
1583
|
report.jobData.endTime = '';
|