system-testing 1.0.6 → 1.0.8

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.6",
3
+ "version": "1.0.8",
4
4
  "description": "System testing with Selenium and browsers.",
5
5
  "keywords": [
6
6
  "system",
@@ -181,6 +181,7 @@ export default class SystemTest {
181
181
  .build()
182
182
 
183
183
  await this.setTimeouts(20000)
184
+ await this.driver.manage().setTimeouts({implicit: 20000, pageLoad: 20000, script: 20000})
184
185
 
185
186
  // Web socket server to communicate with browser
186
187
  await this.startWebSocketServer()
@@ -200,7 +201,7 @@ export default class SystemTest {
200
201
  // Wait for client to connect
201
202
  await this.waitForClientWebSocket()
202
203
 
203
- await this.setTimeouts(4000)
204
+ await this.driver.manage().setTimeouts({implicit: 4000, pageLoad: 4000, script: 4000})
204
205
  this._started = true
205
206
  }
206
207
 
@@ -213,7 +214,7 @@ export default class SystemTest {
213
214
  }
214
215
 
215
216
  async driverSetTimeouts(newTimeout) {
216
- await this.driver.manage().setTimeouts({implicit: newTimeout, pageLoad: newTimeout, script: newTimeout})
217
+ await this.driver.manage().setTimeouts({implicit: newTimeout})
217
218
  }
218
219
 
219
220
  async setTimeouts(newTimeout) {