0

The same problem with rails tests as here, but on Mac OS X.

And when I start specs next time, they hang on js specs until I close the browser manually. And those tests fail, I need to restart specs again.

What's the solution here?

Community
  • 1
  • 1
Alexander Ulitin
  • 1,150
  • 1
  • 10
  • 23

1 Answers1

0

https://github.com/timcharper/spork/issues/144

1) [optional] to close only my processes

cp /Applications/Firefox.app/Contents/MacOS/firefox-bin /Applications/Firefox.app/Contents/MacOS/firefox-bin-selenium

Selenium::WebDriver::Firefox.path = "/Applications/Firefox.app/Contents/MacOS/firefox-bin-selenium"

2)

Spork.each_run do
\`killall firefox-bin-selenium\`
end
Alexander Ulitin
  • 1,150
  • 1
  • 10
  • 23