testaro 32.0.9 → 32.0.10
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/tests/ibm.js +1 -1
package/package.json
CHANGED
package/tests/ibm.js
CHANGED
|
@@ -176,8 +176,8 @@ exports.reporter = async (page, options) => {
|
|
|
176
176
|
const contentType = withNewContent ? 'new' : 'existing';
|
|
177
177
|
console.log(`>>>>>> Content type: ${contentType}`);
|
|
178
178
|
const timeLimit = 25;
|
|
179
|
-
const typeContent = contentType === 'existing' ? await page.content() : await page.url();
|
|
180
179
|
try {
|
|
180
|
+
const typeContent = contentType === 'existing' ? await page.content() : await page.url();
|
|
181
181
|
const actReport = await doTest(typeContent, withItems, timeLimit, rules);
|
|
182
182
|
const {data, result} = actReport;
|
|
183
183
|
// If the act was prevented:
|