unexpected behaviour - Jasmine spec timeout issue
My jasmine specs work fine only with protractor version 4.0.3, The moment I update the protractor version the same scripts start failing with below error.
Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
The angualar pages load properly and step executes successfully but, above error message is thrown on console when it moves to next step,
===================================================
Please fill in the following from the docs
Bug report
- Node Version: ``
- Protractor Version: ``
- Angular Version: ``
- Browser(s): ``
- Operating System and Version ``
- Your protractor configuration file
- A relevant example test
- Output from running the test
- Steps to reproduce the bug
- The URL you are running your tests against (if relevant)
Feature Request
- Reasons for adopting new feature
- Is this a breaking change? (How will this affect existing functionality)
If this is a bug, please use the form I've added into your issue. Also provide a example script we can use to debug your issue.
Tnx
@wswebcreation - I found that the issue is with jasmine version. the above mentioned issue occurs with jasmine - "jasmine": "2.7.0" (wherein jasminewd2 - 0.0.10 gets installed by default) I updated package.json to use "jasmine": "2.6.0", "jasminewd2": "^2.1.0", and it worked.
hence there is some issue with latest version of jasmine library
Hi @TwinkleA ,
Is there still a problem now? Or can this be closed. By the way, there were some breaking changes in protractor 5 that could have to do with your poroblem, hence the upgrade to version 5.0.0