Could anybody give some advice for setting Behat with SF4? When I run behat
database is loaded with fixtures for test
environment, but Selenium starts browser and tries to find data in dev
mode. The only way I managed to run Selenium in test
mode is manually setting APP_ENV=test
in .env
or creating test.php
(copy of index.php) with hardcoded test
in $env
and pointing behat.yml base_url
to test.php
everything works as expected. But I wanna test Stripe with normal endpoints and having test.php
is not an option. My current settings of behat.yml
config http://ift.tt/2DDfvaN
lundi 15 janvier 2018
Running Selenium in test environment (Symfony+Behat)
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire