I'm current using Behat with Mink & Goutte Driver. When i'm trying to use it with my dev environment, via the app_dev.php
file, which is a typical app_dev.php
file from a Symfony2 Standard Edition, my tests are working just fine (Gists).
But, if I want to use a app_test
file (which is the same as the app_dev
file, except for the environment parameter set to "test" instead of "dev", and debug mode disabled), on the logout scenario, it seems that Goutte can't find the "user_signup" identifier, and in the "login" scenario, it does not find the "Root" text node. Indeed, when i'm using a print last response
, it seems that the user is just not logged in : I still see the forms to log in an user...
When i'm on my dev environment (app_dev
) or prod environment (app
), everything seems to be working just fine though... Any idea ?
(If you think you need some other files, please tell me).
app_test.php
), and I do have theMOCKSESSID
cookie. And everything works... But not when using Behat + Mink (+ Goutte). So, as I have this cookie with Mink (I checked with agetCookieJar()
), meaning that the cookies are activated, it seems that the session is simply not set... – Chaparro