wait for all results to finish sending

This commit is contained in:
Thomas Aylott
2013-11-06 15:13:39 -05:00
parent 71772e763a
commit c780985d3e
+1
View File
@@ -28,6 +28,7 @@ function getJSReport(browser){
return browser
.waitForCondition("typeof window.jasmine != 'undefined'", 500)
.waitForCondition("typeof window.jasmine.getJSReport != 'undefined'", 10e3)
.waitForCondition("window.testImageURL.running <= 0", 5e3)
.eval("jasmine.getJSReport()")
;
}