Yesterday all of sudden our builds started to fail while running feature tests using Poltergeist and PhantomJS. These tests pass locally. We also tried to rebuild couple old builds which passed earlier, but they also face the same problem.
The error message:
Failure/Error: visit current_path
Capybara::Poltergeist::DeadClient:
PhantomJS client died while processing {“name”:“visit”,“args”:[“http://127.0.0.1:45404/campaigns/customer-service-representative/review”]}
# ./spec/features/campaigns/campaign_review_features_spec.rb:82:in block (2 levels) in <top (required)>' # /home/ubuntu/.rvm/gems/ruby-2.3.1@fuzu/gems/bundler-1.12.3/lib/bundler/cli/exec.rb:63:in
load’
We didn’t change anything that has anything to do with this certain scenario, and also the old builds that passed earlier fail now as I said earlier.