testaro 64.10.0 → 64.11.0
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 +8 -0
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -1661,6 +1661,14 @@ const doActs = async (report, opts = {}) => {
|
|
|
1661
1661
|
instance.pathID = elementID.pathID;
|
|
1662
1662
|
}
|
|
1663
1663
|
}
|
|
1664
|
+
// If the instance excerpt contains a unique Testaro identifier attribute:
|
|
1665
|
+
if (instance.excerpt.includes(' data-testaro-id="')) {
|
|
1666
|
+
// Delete the attribute.
|
|
1667
|
+
instance.excerpt = instance
|
|
1668
|
+
.excerpt
|
|
1669
|
+
.replace(/ data-testaro-id="[^" ]*("|$)/g, '')
|
|
1670
|
+
.replace(/ data-testaro-id="[^" ]* /g, ' ');
|
|
1671
|
+
}
|
|
1664
1672
|
};
|
|
1665
1673
|
// If the original-format result is not to be included in the report:
|
|
1666
1674
|
if (standard === 'only') {
|