Closed dbudwin closed 5 years ago
Note, I saw @taylorotwell published some updates today. I upgraded my installation to use Dusk 2.0.10 and I still have the exact same issue as above and hoping someone can spot what's going on.
Try setting the chrome driver that comes with Laravel to executable in your Travis build
sudo chmod a+x ./vendor/laravel/dusk/bin/chromedriver-linux
Also, you may have to change the port in the Travis build. I had to change it when building in Jenkins
@brianchristopherpeck I don't believe the "new" way to run Dusk tests in Travis uses the chromedriver-linux
program. See https://laravel.com/docs/5.5/dusk#running-tests-on-travis-ci
Closing this issue because it's already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue.
Before upgrading from 1.1.0 to 2.0.8 my Dusk tests worked on Travis CI, and they still currently work locally when I run them (ChromeDriver 2.34.522932). After I updated, my Dusk tests fail on Travis. When I updated, I followed the documentation and updated my
.travis.yml
file to be the following:My
.env.testing
file looks like:The errors I get look like:
My code in question can be viewed here: https://github.com/dbudwin/RoboHome-Web/pull/125 The Travis CI errors can be viewed here: https://travis-ci.org/dbudwin/RoboHome-Web/builds/328614743?utm_source=github_status&utm_medium=notification
I'm not sure why the connection is being refused on
9515
. Any suggestions? Thanks!