froth-webdriverio-framework 4.0.16 → 4.0.18
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.
|
@@ -146,7 +146,7 @@ const commonconfig = {
|
|
|
146
146
|
localError = browser.testError;
|
|
147
147
|
resultdetails.comments.push(`${test.title} - failed: ${localError}`);
|
|
148
148
|
browser.testError = null; // clear it
|
|
149
|
-
scriptresult = "
|
|
149
|
+
scriptresult = "FAILED"
|
|
150
150
|
// throw err; // causes test to fail after execution
|
|
151
151
|
}
|
|
152
152
|
if (passed && !localError ) {
|
|
@@ -156,7 +156,7 @@ const commonconfig = {
|
|
|
156
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)))
|
|
160
160
|
resultdetails.comments.push(`${test.title} - failed: ${error.message}`);
|
|
161
161
|
}
|
|
162
162
|
|