These are chat archives for Behat/Behat

26th
Apr 2017
Sakona Chhoeurng
@sakonachhoeurng
Apr 26 2017 10:10
@SamyOteroGlez you are welcome.
SamyOteroGlez
@SamyOteroGlez
Apr 26 2017 15:05
Hi guys,
I'm trying to configure a test suite using behat and laracasts/behat-laravel-extension. I have my app running in a vagrant virtual machine and I'm running the tests outside vagrant (local machine). Everything runs as specked if I don't use selenium but when I define a @javascript tag for an scenario it runs but is using a different connection to the database. Also, to isolate the problem I'm only have one connection to one database, no test databases. All the migrations, seeding and db transaction happens in some db but no the db used when I tried with the browser emulation. The basic scenario is to login into the app. Any ideas?