jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Running with PhantomJS fails with "Error: Timed out" #199

Closed YoranBrondsema closed 10 years ago

YoranBrondsema commented 10 years ago

Hi,

I'm running QUnit tests for an Ember.js project with Teaspoon with the PhantomJS driver. When I run them in the browser, they all pass and everything runs fine. However, when I run them through the CLI, Teaspoon exits with an error "Error: Timed Out". My guess is that the tests are taking too long and that something is timing out, because I added new tests lately and I didn't have this error before.

I saw that there's a timeout property set in lib/teaspoon/drivers/phantomjs/runner.js, maybe it has got something to do with that?

jejacks0n commented 10 years ago

0.8 allows you to specify this configuration.. if that helps.

YoranBrondsema commented 10 years ago

That solved it indeed. Thanks!