I have used it and it is quiet practical. I think purhur even has a fork
great i will also review it cause i was looking for one and all ended as far as i investigate so far using mink
also and im using php webdriver
its mink better then using php webdriver?
You could use the DMore/BehatChromeExtension. That way you only Need a chrome installed
I am trying to verify the text being displayed on page but the problem is that text displays only for few secs and scenario is getting failed as it says it is unable to find anywhere in the text of the current page.
Also attaching the screenshot of feature .
how long do you wait in your wait step?
maybe thats too long? why not make that step configurable by saying something like Then I wait x seconds ?
did you try to start a proxy beside your test runner for that api?
I would be difficult using a proxy since I need the fake API to return different data for each different scenario
Hello, I'm trying to rollback database transaction by "DatabaseTransactions.php" methods. I have no Exceptions but nothing gonna happened and new records still in my DB
that depends on how you test all the things
mysql doenst support transactions so you cannot run a "real testrun" only in unit tests is works (i assume you are using laravel/databasetransactions)
I am using behat-laravel-extension/databasetransaction. Thx for answer
Hello, How load test env file and with symfony when i run behat command please? Current when i use vendor/bin/behat --tags=api , it's dev env that load by symfony for avoid that i have to replace env file by env.test. It not exist a way for to do that with configuration file in behat? Thanks
Resolved, i use finally env.test and overwrite env file. For use specific authenticator in test environnement i use specific firewall where pattern use parameter in .env.test file for disable in dev or prod env just specify parameter with empty string ' ' :)