and it has been working until a while ago.
But now the feature test with phantomJS doesnt work.
the error message is below
Cliver::Dependency::NotFound:
Could not find an executable ["phantomjs"] on your path.
I investigated somehow
now circleci/ruby:2.3.7-node-browsers does not include phantomJS
bash-3.2$ docker run -t circleci/ruby:2.3.7-node-browsers
phantomjs -v
/bin/sh: 1: phantomjs: not found
and previous version of circleci/ruby:2.3.7-node-browsers: circleci/ruby@sha256:838b04d9c3e7d31b7e6b93cbbec32fb5a3f406d6bdefd8ed75354ade00b23eaa
DOES work
bash-3.2$ docker run -it circleci/ruby@sha256:838b04d9c3e7d31b7e6b93cbbec32fb5a3f406d6bdefd8ed75354ade00b23eaa
phantomjs -v
2.1.1
Why exclude phantomjs from circleci/ruby:2.3.7-node-browsers ?
I don’t know the reason, but I’d guess it’s related to the PhantomJS project being abandoned (last time I checked). I seem to recall the team of committers were recommending people use Chromium with a local driver now.
(I use PhantomJS too, but I don’t use convenience images - I use my own custom image).
Looks like they somewhat silently deprecated PhantomJS in https://github.com/circleci/circleci-images/pull/256 but it’s still available with the “-legacy” suffix like so: circleci/ruby:2.3.7-node-browsers-legacy.
While it was admittedly only a few days ago, we did announce PhantomJS specifically would be moved to the -legacy tag here. Apologies for any inconvenience.
So is that why PhantomJS was removed? Due to the PhantomJS project being abandoned? If so that makes sense; however, the PR listing the change that was done does not explain why it is being done. It just says that “Removes PhantomJS” :(.
An explanation as to why this is being done would be appreciated …