jejacks0n / teaspoon

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

Attempts to resolve the capybara webkit STDOUT issues. #428 #472

Closed jejacks0n closed 8 years ago

jejacks0n commented 8 years ago

This leaves a bit to be desired, but is really the only way I could figure out how to accomplish this after teasing apart capybara/capybara webkit.

The main issue I have with it is the order in which things are output.. if you add console.log inside your first spec, it will behave as expected.. if you put another console.log inside your second spec, that output is visible before the dot from the first spec. I assume this is the nature of the speed at which capybara is running / reading from the socket, but it could lead to confusion.

jejacks0n commented 8 years ago

If anyone from the issue would like to dive into this further, it might be useful to get more eyes on it.