jasmine - Jasmine2 Stacktrace -
when run our protractor tests jasmine2 framework rather useless stack traces such following. these sporadic , never in same place twice. can re-run tests , it'll work fine.
what exact causes type of error , how can go fixing it?
should log in admin user , (22 secs) - failed: null @ /var/lib/jenkins/jobs/code-test/workspace/node_modules/protractor/node_modules/jasminewd2/index.js:102:16 @ [object object].promise.controlflow.runinframe_ (/var/lib/jenkins/jobs/code-test/workspace/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877:20) @ [object object].promise.callback_.goog.defineclass.notify (/var/lib/jenkins/jobs/code-test/workspace/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:2464:25) @ [object object].promise.promise.notify_ (/var/lib/jenkins/jobs/code-test/workspace/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:563:12)
you need upgrade jasmine
>=2.2 version (2.3 latest), reference:
Comments
Post a Comment