Run karma test phantomjs crash

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:

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.

1 Like

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

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?

1 Like