Make acceptance tests stable
Running acceptance tests using the procedure described here https://wiki.typo3.org/Acceptance_testing is not stable. The results are random and heavily depend on timeouts.
[TASK] Tweak of the Formhandler acceptance testsIncludes:
- Added testing of persistence
- Added tests for datetime fields
- Prevent random timeouts from affecting the test results
- Added displaying of modal with error message instead of an alert
on trying to save a form with validation errors
The tests are stable using Selenium with Firefox. Using phantomjs gives
erratic results due to "QIODevice::write (QTcpSocket): device not open"
bug which randomly pops up.
Reviewed-by: Anja Leichsenring <email@example.com>
Tested-by: Anja Leichsenring <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>