When a Cucumber step fails, it is useful to create a screenshot image and HTML file of the current page WWW: https://github.com/mattheworiordan/capybara-screenshot