Run karma test phantomjs crash

chrome
phantomjs

#1

Currently we are using PhantomJS to run all test case with Karma.
But it often crash and need to run again.
Could you please give me another browsers which i can run test on CircleCI?
I tried with Chrome but it not work. It seems need to configure and install Chrome. :frowning:


#2

Are you using 1.0 or 2.0?

Using 2.0 with one of our “browser” images is a great bet. Has been a lot more stable in my experience than trying to do anything with browsers in 1.0.


#3

We are planning to migrate from v1.0 to 2.0
For temporary solution, we used Chromeheadless instead of PhanTomJs


#4

PhantomJS has been rock-solid for me on Circle 2.0, using PHP drivers and PHPUnit. I build all my own images though, rather that using Circle pre-rolled ones.

It’s hard to say what was failing for you without much more detail, obviously. Did you get any logs/errors when it crashed?


#5