Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timed out after 5000 msec waiting for spec to complete #27

Closed
ajaybeniwal opened this issue Jul 11, 2013 · 4 comments
Closed

Timed out after 5000 msec waiting for spec to complete #27

ajaybeniwal opened this issue Jul 11, 2013 · 4 comments

Comments

@ajaybeniwal
Copy link

I am trying protractor to conduct my e2e test on angular app . At beginning i have just written two test cases with simple DOM assertions sometime my test run successfully but majority of time they fail with Message timeout:timed out after 5000 msec waiting for spec to complete .Could you guide me how to resolve this issue

@juliemr
Copy link
Member

juliemr commented Jul 11, 2013

Is your website actually taking more than 5000 seconds to load and perform your tests? If so, you may need to change the timeout of the test suite - you can do this by providing a third parameter to the it suite:

it('takes more than 5 seconds', function() { // test here }, 10000);

@juliemr
Copy link
Member

juliemr commented Jul 23, 2013

Closing this as obsolete - please reopen if you're still having issues.

@lebek
Copy link

lebek commented Jul 25, 2013

@ajaybeniwal you can also set defaultTimeoutInterval (juliemr/minijasminenode#2)

@lucassus
Copy link

lucassus commented Oct 3, 2013

Is it possible to set timeout value in the procratori's configuration file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants