jejacks0n / teaspoon

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

Ignore phantomjs "Operation canceled" error message that happens on mult... #272

Closed simsalabim closed 9 years ago

simsalabim commented 10 years ago

...iple page loads (ajax requests).

The issue I am experiencing right now is related to phantomjs throwing 'Operation canceled' on too many ajax requests on a single page load. This happens when test suite is large enough and there are seriously quite a lot of ajax requests being performed in it.

And it just so happens that onLoadFinished is invoked with status fail while window.Teaspoon is defined and test cases can be run correctly. I would like to exclude phantomjs' status as criteria of failure because it seems unreliable and window.Teaspoon is enough.

P.S. Someone did research on how many requests is allowed https://groups.google.com/forum/#!topic/phantomjs/Tg-Jq-cmuVo

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling b55dd5c7cf8e13a5579254f1e6fa77ee96d7a453 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

simsalabim commented 10 years ago

For some reason install_generator_spec.rb fails for me even on current master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling d7833c0ec44a0e1a46c197d9f765c3377c7431d4 on simsalabim:feature/ignore-phantoimjs-operation-cancelled into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.