testaro 50.0.0 → 50.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/package.json +1 -1
- package/run.js +6 -5
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -82,12 +82,12 @@ const errorWords = [
|
|
|
82
82
|
'violates',
|
|
83
83
|
'warning'
|
|
84
84
|
];
|
|
85
|
-
// Time limits on tools.
|
|
85
|
+
// Time limits on tools, accounting for page reloads by 6 Testaro tests.
|
|
86
86
|
const timeLimits = {
|
|
87
87
|
alfa: 20,
|
|
88
88
|
ed11y: 30,
|
|
89
89
|
ibm: 30,
|
|
90
|
-
testaro:
|
|
90
|
+
testaro: 150 + Math.round(6 * process.env.WAITS / 1000)
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// ########## VARIABLES
|
|
@@ -501,7 +501,7 @@ const wait = ms => {
|
|
|
501
501
|
}, ms);
|
|
502
502
|
});
|
|
503
503
|
};
|
|
504
|
-
// Reports a job being aborted
|
|
504
|
+
// Reports a job being aborted.
|
|
505
505
|
const abortActs = (report, actIndex) => {
|
|
506
506
|
// Add data on the aborted act to the report.
|
|
507
507
|
report.jobData.abortTime = nowString();
|
|
@@ -543,7 +543,8 @@ const doActs = async (report) => {
|
|
|
543
543
|
const standard = report.standard || 'only';
|
|
544
544
|
const reportPath = 'temp/report.json';
|
|
545
545
|
// For each act in the reeport.
|
|
546
|
-
for (const
|
|
546
|
+
for (const doActsIndex in acts) {
|
|
547
|
+
actIndex = doActsIndex;
|
|
547
548
|
// If the job has not been aborted:
|
|
548
549
|
if (report.jobData && ! report.jobData.aborted) {
|
|
549
550
|
let act = acts[actIndex];
|
|
@@ -584,7 +585,7 @@ const doActs = async (report) => {
|
|
|
584
585
|
// If the performance of acts is to stop:
|
|
585
586
|
if (act.jump === 0) {
|
|
586
587
|
// Quit.
|
|
587
|
-
|
|
588
|
+
break;
|
|
588
589
|
}
|
|
589
590
|
// Otherwise, if there is a numerical jump:
|
|
590
591
|
else if (act.jump) {
|