oasis4hedev / salsa-docker-compose

0 stars 1 forks source link

javascript in tests fail when running sningle test #15

Open opsaaaaa opened 5 years ago

opsaaaaa commented 5 years ago

when running docker-compose run --rm salsa bash ./cucumber.sh the test that run with javascript pass. when you run

docker-compose run --rm salsa bash
cucumber features/name_of_test.feature RAILS_ENV=test

the test with javascript fail.

opsaaaaa commented 5 years ago
docker-compose run --rm salsa bash
xvfb-run -a bundle exec cucumber features/name_of_test.feature RAILS_ENV=test

this works