system-testing 1.0.9 → 1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-testing",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "System testing with Selenium and browsers.",
5
5
  "keywords": [
6
6
  "system",
@@ -44,7 +44,7 @@ export default class SystemTestBrowserHelper {
44
44
  errorClass: "UnhandledRejection",
45
45
  file: null,
46
46
  line: null,
47
- message: event.reason.message || "Unhandled promise rejection",
47
+ message: event.reason.message || event.reason || "Unhandled promise rejection without a message",
48
48
  url: window.location.href
49
49
  })
50
50
  })
@@ -335,6 +335,7 @@ export default class SystemTest {
335
335
  await fs.writeFile(logsPath, logsText.join("\n"))
336
336
  await fs.writeFile(screenshotPath, imageContent, "base64")
337
337
 
338
+ console.log("Logs:", logsPath)
338
339
  console.log("Screenshot:", screenshotPath)
339
340
  console.log("HTML:", htmlPath)
340
341
  }