Error:Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL

Viewed 2547

I am new for Protractor and writing a code. when I ran my code my desired actions are performed with an error

Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL

And my test was failed due to this.

I have applied timeout command to handle

import 'jasmine'; 
jasmine.DEFAULT_TIMEOUT_INTERVAL= 50000;

however same message is coming every time and my test is failing.

2 Answers

Try putting your timeout command in your config file like this.

jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 600000 }

Related