@samitouri / QOS-React-2 / commits / c780985d3e

wait for all results to finish sending

Thomas Aylott committed Nov 6, 2013 at 15:13 UTC c780985d3e9bd56143ebe3916dd7e37583fac72f
1 file changed +1
grunt/tasks/webdriver-jasmine.js
+1
@@ -28,6 +28,7 @@ function getJSReport(browser){
28 return browser
29 .waitForCondition("typeof window.jasmine != 'undefined'", 500)
30 .waitForCondition("typeof window.jasmine.getJSReport != 'undefined'", 10e3)
31 + .waitForCondition("window.testImageURL.running <= 0", 5e3)
32 .eval("jasmine.getJSReport()")
33 ;
34 }