[TASK] Tweak of the Formhandler acceptance tests 68/48068/8
authorNikola Stojiljkovic <nikola.stojiljkovic@essentialdots.com>
Tue, 10 May 2016 14:36:43 +0000 (17:36 +0300)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 12 May 2016 14:55:44 +0000 (16:55 +0200)
commit1bf5a17b1f2b5c79a1dc532eb52873af804476ab
tree34a82af1848630219118e89b823996c5b3867d95
parent24b612626ad1bbe83a961537cabb191f143757da
[TASK] Tweak of the Formhandler acceptance tests

Includes:
* 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.

Resolves: #76122
Releases: master
Change-Id: Ia0c06fc4dbd83e2373d33bb07c48559894fc3ec5
Reviewed-on: https://review.typo3.org/48068
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineValidation.js
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/ElementsBasicCest.php
typo3/sysext/core/Tests/Acceptance/Support/Helper/Formhandler.php