Since upgrading to ember-cli 1.13.8 and Ember 2.0.0 (from 1.13.1 / 1.12.x), I cannot get a test suite to run in CircleCI due to an error:
not ok 1 PhantomJS - Browser "phantomjs /home/ubuntu/app-name/node_modules/ember-cli/node_modules/testem/assets/phantom.js http: // localhost: 7357/7887" exited unexpectedly.
1..1
tests 1
pass 0
fail 1
npm ERR! Test failed. See above for more details.
npm test returned exit code 1
It used to work before, and strangely, it works locally (OS X El Capitan, PhantomJS 2.0). On CircleCI also runs on version 2.0, which is installed as follows:
$ sudo apt-get update; sudo apt-get install libicu52
$ curl --output /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic https://s3.amazonaws.com/circle-support-bucket/phantomjs/phantomjs-2.0.1-linux-x86_64 -dynamic
$ chmod a + x /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic
$ sudo ln -s --force /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic / usr / local / bin / phantomjs
I also tried to download it from Travis, but the same thing happened.
Any idea what reason and how to solve it?
source
share