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 +1 -1
- package/src/system-test.js +3 -2
package/package.json
CHANGED
package/src/system-test.js
CHANGED
|
@@ -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
|
|
217
|
+
await this.driver.manage().setTimeouts({implicit: newTimeout})
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
async setTimeouts(newTimeout) {
|