I got this error in protractor:
Uncaught exception: Timed out waiting for Protractor to synchronize with the page after 60 seconds. Please see http://ift.tt/OLBPn9
And after that nothing else happends and that is a problem to me because in my conf file, on onComplete I have a function that writes tests results in JSON files, but if that error occurs system never get to that function. Another problem is that browser window is not closed.
I would like to catch that exception, or simulate onError function in conf file. I searched in Protractor API but there is nothing about onComplete or onPrepare so also nothing about onError. Is that part of Jasmine?
Notice that Uncaught exception is not a normal error as could be when one expect() fails or a normal timeout error.
Aucun commentaire:
Enregistrer un commentaire