froth-webdriverio-framework 4.0.18 → 4.0.19
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.
|
@@ -153,7 +153,7 @@ const commonconfig = {
|
|
|
153
153
|
scriptresult = "PASSED"
|
|
154
154
|
resultdetails.comments.push(`${test.title} - passed`);
|
|
155
155
|
}
|
|
156
|
-
else if (!passed
|
|
156
|
+
else if (!passed || error) {
|
|
157
157
|
console.error(`========= Failed or Error occured while executing the test: ${error.message}`);
|
|
158
158
|
scriptresult = "FAILED"
|
|
159
159
|
// if (!resultdetails.comments.some(comment => typeof comment === 'string' && comment.includes(test.title)))
|