Add process.on to beforeLaunch
Closed this issue · 1 comments
jrm06c commented
Just letting people know as an FYI...
The report doesn't get any data and isn't closed out if protractor/webdriver hits an uncaughtException.
Add this to the beforeLaunch function in the protractor config file to account for uncaughtExceptions:
process.on('uncaughtException', function () {
reporter.jasmineDone();
reporter.afterLaunch();
});
mlison commented
Thanks, thats a good info. I've added this to readme.