testaro 29.1.0 → 29.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/testaro/buttonMenu.js +1 -1
- package/testaro/focAll.js +1 -1
- package/testaro/hover.js +1 -1
- package/testaro/tabNav.js +7 -7
package/package.json
CHANGED
package/testaro/buttonMenu.js
CHANGED
package/testaro/focAll.js
CHANGED
package/testaro/hover.js
CHANGED
|
@@ -72,7 +72,7 @@ exports.reporter = async (page, withItems) => {
|
|
|
72
72
|
'Hovering over the element __param__',
|
|
73
73
|
'Hovering over elements adds elements to or subtracts elements from the page'
|
|
74
74
|
];
|
|
75
|
-
// Reload the page.
|
|
75
|
+
// Reload the page, because hovering may have caused content changes.
|
|
76
76
|
try {
|
|
77
77
|
await page.reload({timeout: 15000});
|
|
78
78
|
}
|
package/testaro/tabNav.js
CHANGED
|
@@ -328,6 +328,13 @@ exports.reporter = async (page, withItems) => {
|
|
|
328
328
|
};
|
|
329
329
|
// FUNCTION DEFINITIONS END
|
|
330
330
|
await testTabLists(tabLists);
|
|
331
|
+
// Reload the page, because keyboard navigation may have triggered content changes.
|
|
332
|
+
try {
|
|
333
|
+
await page.reload({timeout: 15000});
|
|
334
|
+
}
|
|
335
|
+
catch(error) {
|
|
336
|
+
console.log('ERROR: page reload timed out');
|
|
337
|
+
}
|
|
331
338
|
}
|
|
332
339
|
const totals = data.totals ? [
|
|
333
340
|
data.totals.navigations.all.incorrect,
|
|
@@ -371,13 +378,6 @@ exports.reporter = async (page, withItems) => {
|
|
|
371
378
|
excerpt: ''
|
|
372
379
|
});
|
|
373
380
|
}
|
|
374
|
-
// Reload the page.
|
|
375
|
-
try {
|
|
376
|
-
await page.reload({timeout: 15000});
|
|
377
|
-
}
|
|
378
|
-
catch(error) {
|
|
379
|
-
console.log('ERROR: page reload timed out');
|
|
380
|
-
}
|
|
381
381
|
return {
|
|
382
382
|
data,
|
|
383
383
|
totals,
|