[TASK] Acceptance tests should be more stable on travis 42/47142/4
authorTimo Schmidt <timo.schmidt@dkd.de>
Sun, 6 Mar 2016 19:38:41 +0000 (20:38 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 9 Mar 2016 15:58:22 +0000 (16:58 +0100)
commita8922f11a7edb5e5e352733cd3cbaaa4e2f82c88
treefaab37201170402e20bf69d77bdf20c6d6f748ed
parent582d2e9e270fa99e713142f9c0f9e0cf35ea3ab8
[TASK] Acceptance tests should be more stable on travis

Increase the stability of the acceptance tests on travis-ci by:

* Use waitFor* instead of see* when possible
* Wait after login for the main navigation and the content iframe
* Setting an implicite wait of 1 second to recude general timing issues

In general from time to time phantomjs stucks with:

SessionManagerReqHand - _cleanupWindowlessSessions -
Asynchronous Sessions clean-up phase starting NOW

This needs further investigation:

https://github.com/ariya/phantomjs/issues/11526

Resolves: #74379
Releases: master
Change-Id: I3465e61a1a8c1c5c2bd5a83e928599606ba28c93
Reviewed-on: https://review.typo3.org/47142
Reviewed-by: Roland Golla <rolandgolla@gmail.com>
Tested-by: Roland Golla <rolandgolla@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
.travis.yml
typo3/sysext/core/Build/Configuration/Acceptance/acceptance.suite.yml
typo3/sysext/core/Tests/Acceptance/Backend/Login/BadCredentialsCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Menu/ModuleMenuSliderCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Page/AddPageInPageModuleCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Page/InfoOnModuleCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Scheduler/CreateASchedulerTaskCest.php
typo3/sysext/core/Tests/Acceptance/Step/Backend/Kasper.php