Behat/Mink — pull request #560 by stof (2014-05-18 22:57:49+00:00)
Title: Added a test using the HTML5 form types

Closes #527

I decided to put them all in a single test for performance reasons (doing a single page load and single form submission rather than 6), as we have the 6 forms on the page anyway (I don't want to have 6 feature files either)

Note: the test is failing on Selenium2Driver locally for me, for color and number types. However, a search on google told me that this is related to the fact that these types have been implemented in Firefox 29 (instead of falling back to normal text fields), and Selenium 2.41 (current stable) officially supports Firefox 28 (as Firefox 29 was not yet released as stable at this time), and so does not know how to handle the new inputs.
This is out of our control. If some people experience a failure there, they should downgrade their firefox to a version supported by Selenium, or wait for the next selenium release.
I think Travis comes with an older version of Firefox (not sure though as their doc still says it is firefox 19 and I clearly doubt about it) so tests could be passing there. And otherwise, we would still be able to force the Firefox version on Travis (with an impact on the build time as it will need to download a firefox binary)