Is there a way for Protractor to show in the console log what line the error occurred on? I just get this type of message:
Message:
Failed: Cannot call m
Here is a related issue at jasminewd project that protractor
uses under-the-hood:
The issue is now fixed, with jasmine
upgrade to >=2.3.1
.
What you should do is to upgrade protractor
to >=2.1.0
.
Old answer:
As a workaround, get back to jasmine 1.x
:
exports.config = {
framework: 'jasmine',
...
}