system-testing 1.0.6 → 1.0.7
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 -3
package/package.json
CHANGED
package/src/system-test.js
CHANGED
|
@@ -180,7 +180,7 @@ export default class SystemTest {
|
|
|
180
180
|
.setCapability("goog:loggingPrefs", {browser: "ALL"})
|
|
181
181
|
.build()
|
|
182
182
|
|
|
183
|
-
await this.setTimeouts(20000)
|
|
183
|
+
await this.driver.manage().setTimeouts({implicit: 20000, pageLoad: 20000, script: 20000})
|
|
184
184
|
|
|
185
185
|
// Web socket server to communicate with browser
|
|
186
186
|
await this.startWebSocketServer()
|
|
@@ -200,7 +200,7 @@ export default class SystemTest {
|
|
|
200
200
|
// Wait for client to connect
|
|
201
201
|
await this.waitForClientWebSocket()
|
|
202
202
|
|
|
203
|
-
await this.setTimeouts(4000)
|
|
203
|
+
await this.driver.manage().setTimeouts({implicit: 4000, pageLoad: 4000, script: 4000})
|
|
204
204
|
this._started = true
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -213,7 +213,7 @@ export default class SystemTest {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
async driverSetTimeouts(newTimeout) {
|
|
216
|
-
await this.driver.manage().setTimeouts({implicit: newTimeout
|
|
216
|
+
await this.driver.manage().setTimeouts({implicit: newTimeout})
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
async setTimeouts(newTimeout) {
|