File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ module.exports = function(){
73
73
74
74
function getJSReport ( browser ) {
75
75
return browser
76
- . waitForCondition ( "typeof window.jasmine != 'undefined'" , 5e3 )
76
+ . waitFor ( wd . asserters . jsCondition ( "typeof window.jasmine != 'undefined'" ) , 5e3 , 50 )
77
77
. fail ( function ( error ) {
78
78
throw Error ( "The test page didn't load properly. " + error ) ;
79
79
} )
80
- . waitForCondition ( "typeof window.jasmine.getJSReport != 'undefined'" , 10e3 )
81
- . waitForCondition ( "window.postDataToURL.running <= 0" , 30e3 )
80
+ . waitFor ( wd . asserters . jsCondition ( "typeof window.jasmine.getJSReport != 'undefined'" ) , 60e3 , 100 )
81
+ . waitFor ( wd . asserters . jsCondition ( "window.postDataToURL.running <= 0" ) , 30e3 , 500 )
82
82
. eval ( "jasmine.getJSReport().passed" ) ;
83
83
}
You can’t perform that action at this time.
0 commit comments