javascript - How to run a protractor browser.sleep for 15 minutes -


i have run tests agains live site. have pretty make tasks wait on website time out (15 minutes), run task, once has passed. longest got wait 26.6 seconds (26600 ms) on firefox, , 30 on chrome.

i following error :

error: timeout - async callback not invoked within timeout specified jasmine.default_timeout_interval.

so need adjust specified timeout jasmine run this:

 browser.get('www.page.com');  browser.sleep(900000);  browser.dosomethingelse(); 

this jasmine timeout happening in case. need tell jasmine it's okay takes time. can set timeout globally in jasminenodeopts in config:

jasminenodeopts: {     defaulttimeoutinterval: 200000, } 

or, can set on spec level (example here).


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -