testaro 69.4.0 → 69.4.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/package.json +1 -1
- package/testaro/tabNav.js +1 -1
package/package.json
CHANGED
package/testaro/tabNav.js
CHANGED
|
@@ -163,7 +163,7 @@ const testTabs = async (tabs, index, listOrientation, listIsCorrect, withItems,
|
|
|
163
163
|
// If itemization is required:
|
|
164
164
|
if (withItems) {
|
|
165
165
|
// Initialize a report on the element.
|
|
166
|
-
itemData.xPath = await page.evaluate(element => window.getXPath(element));
|
|
166
|
+
itemData.xPath = await page.evaluate(element => window.getXPath(element), currentTab);
|
|
167
167
|
itemData.navigationErrors = [];
|
|
168
168
|
}
|
|
169
169
|
// Test the element with each navigation key.
|