system-testing 1.0.18 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-testing",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "System testing with Selenium and browsers.",
5
5
  "keywords": [
6
6
  "system",
@@ -220,11 +220,11 @@ export default class SystemTest {
220
220
  if (error.constructor.name === "ElementNotInteractableError") {
221
221
  // Retry finding the element and interacting with it
222
222
  if (tries >= 3) {
223
- throw new Error(`${element.constructor.name} ${methodName} failed after ${tries} tries: ${error.message}`)
223
+ throw new Error(`${element.constructor.name} ${methodName} failed after ${tries} tries - ${error.constructor.name}: ${error.message}`)
224
224
  }
225
225
  } else {
226
226
  // Re-throw with un-corrupted stack trace
227
- throw new Error(`${element.constructor.name} ${methodName} failed: ${error.message}`)
227
+ throw new Error(`${element.constructor.name} ${methodName} failed - ${error.constructor.name}: ${error.message}`)
228
228
  }
229
229
  }
230
230
  }
@@ -338,7 +338,7 @@ export default class SystemTest {
338
338
  .setCapability("goog:loggingPrefs", {browser: "ALL"})
339
339
  .build()
340
340
 
341
- await this.setTimeouts(4000)
341
+ await this.setTimeouts(5000)
342
342
 
343
343
  // Web socket server to communicate with browser
344
344
  await this.startWebSocketServer()