testaro 14.2.2 → 14.2.3
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/testaro/focAll.js +6 -1
- package/testaro/focInd.js +6 -1
- package/testaro/focOp.js +6 -1
- package/testaro/hover.js +6 -1
- package/testaro/menuNav.js +6 -1
- package/testaro/tabNav.js +6 -1
package/package.json
CHANGED
package/testaro/focAll.js
CHANGED
|
@@ -54,7 +54,12 @@ exports.reporter = async page => {
|
|
|
54
54
|
discrepancy: tabFocused - tabFocusables
|
|
55
55
|
};
|
|
56
56
|
// Reload the page.
|
|
57
|
-
|
|
57
|
+
try {
|
|
58
|
+
await page.reload({timeout: 15000});
|
|
59
|
+
}
|
|
60
|
+
catch(error) {
|
|
61
|
+
console.log('ERROR: page reload timed out');
|
|
62
|
+
}
|
|
58
63
|
// Return the result.
|
|
59
64
|
return {
|
|
60
65
|
data,
|
package/testaro/focInd.js
CHANGED
|
@@ -200,7 +200,12 @@ exports.reporter = async (page, withItems, revealAll = false, allowedDelay = 250
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
// Reload the page.
|
|
203
|
-
|
|
203
|
+
try {
|
|
204
|
+
await page.reload({timeout: 15000});
|
|
205
|
+
}
|
|
206
|
+
catch(error) {
|
|
207
|
+
console.log('ERROR: page reload timed out');
|
|
208
|
+
}
|
|
204
209
|
return {
|
|
205
210
|
data,
|
|
206
211
|
totals,
|
package/testaro/focOp.js
CHANGED
|
@@ -188,7 +188,12 @@ exports.reporter = async (page, withItems) => {
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
// Reload the page.
|
|
191
|
-
|
|
191
|
+
try {
|
|
192
|
+
await page.reload({timeout: 15000});
|
|
193
|
+
}
|
|
194
|
+
catch(error) {
|
|
195
|
+
console.log('ERROR: page reload timed out');
|
|
196
|
+
}
|
|
192
197
|
return {
|
|
193
198
|
data,
|
|
194
199
|
totals,
|
package/testaro/hover.js
CHANGED
|
@@ -433,7 +433,12 @@ exports.reporter = async (page, withItems, sampleSize = -1) => {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
// Reload the page.
|
|
436
|
-
|
|
436
|
+
try {
|
|
437
|
+
await page.reload({timeout: 15000});
|
|
438
|
+
}
|
|
439
|
+
catch(error) {
|
|
440
|
+
console.log('ERROR: page reload timed out');
|
|
441
|
+
}
|
|
437
442
|
// Return the result.
|
|
438
443
|
return {
|
|
439
444
|
data,
|
package/testaro/menuNav.js
CHANGED
|
@@ -296,7 +296,12 @@ exports.reporter = async (page, withItems) => {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
// Reload the page.
|
|
299
|
-
|
|
299
|
+
try {
|
|
300
|
+
await page.reload({timeout: 15000});
|
|
301
|
+
}
|
|
302
|
+
catch(error) {
|
|
303
|
+
console.log('ERROR: page reload timed out');
|
|
304
|
+
}
|
|
300
305
|
return {
|
|
301
306
|
data,
|
|
302
307
|
totals,
|
package/testaro/tabNav.js
CHANGED
|
@@ -360,7 +360,12 @@ exports.reporter = async (page, withItems) => {
|
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
// Reload the page.
|
|
363
|
-
|
|
363
|
+
try {
|
|
364
|
+
await page.reload({timeout: 15000});
|
|
365
|
+
}
|
|
366
|
+
catch(error) {
|
|
367
|
+
console.log('ERROR: page reload timed out');
|
|
368
|
+
}
|
|
364
369
|
return {
|
|
365
370
|
data,
|
|
366
371
|
totals,
|