submitForm() used through simpletest doesn't understand HTML5 inputs like <input type="email" ...> and results in test failures, as we recently changed EmailField to use type "email" instead of "text".
<input type="email" ...>
I've fixed these tests by using post() instead, removing the need to use simpletest in these cases.
Since we only use submitForm() in a handful of locations, we could probably replace these with post() too and remove the need to use simpletest. Opened a new ticket here: http://open.silverstripe.org/ticket/7185
EDIT: Updated this pull request to remove simpletest, and replace all uses of submitForm() with post()
ENHANCEMENT GridFieldExportButton allows an anon function to return the
value of a related object. Useful for handling has_many/many_many data
in a single CSV column.
MINOR Using post() for FormTest::testDisableSecurityTokenAcceptsSubmi…
API CHANGE Removing simpletest, and removing submitForm() from
FunctionalTest. Please use post() directly, instead.
MINOR Fixing tests to use post() instead of submitForm()
MINOR Re-adding submitForm, but removing reliance on simpletest
I need to fix this up properly, closing pull request for now.