We are eCommerce development experts who love Open Source and knowledge sharing.
Debugging Behat scenarios while using Mink to simulate the user is not always an easy job. Especially, if they are run on Continuous Integration server. That is why I came up with an idea to make it easier.
MinkDebugExtension was written to speed up that boring and tiring part of debugging on CI server. It consists of two parts: Behat extension and useful scripts.
It is activated after every failed step. Creates logs containing current URL, status code, request headers and body and response contents. It also takes screenshots of your page in browser if using Selenium2Driver. Its installation and configuration takes less than a minute (have a look at documentation).
Okay, so you have nice logs and screenshots created by that extension, but how are you going to browse through them? It could not be easier! The extension comes bundled with three scripts, two of them are for uploading files on remote server.
There is also one script that is waiting until the port is taken - travis/tools/wait-for-port - and they are all documented.