[TASK] Account for double click pagetree timeout in acceptance tests
The page tree in TYPO3 v11 and v12 has a default timeout of 300ms for click events to be processed (in order to wait for double-click detection). This caused race conditions in tests since code that waited for #nprogress to hide after clicking on the pagetree did not have anything to wait for (yet), because the progress loaded was only triggered 300ms later, when the click was detected to not be a double click event and the content frame was started to be updated. Also remove wait timeout that were implicitly added for the same issue, but were spread throughout the test cases. Resolves: #103473 Releases: 12.4, 11.5 Change-Id: Ie9c9aff8c8a36581555a9ad352fb98b3d446ba42 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83577 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-by:
Benjamin Franzke <ben@bnf.dev>
Showing
- typo3/sysext/core/Tests/Acceptance/Application/Frontend/ContentElementsCest.php 0 additions, 1 deletion...s/Acceptance/Application/Frontend/ContentElementsCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Frontend/FormFrameworkCest.php 0 additions, 1 deletion...sts/Acceptance/Application/Frontend/FormFrameworkCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Frontend/FrontendLoginCest.php 0 additions, 1 deletion...sts/Acceptance/Application/Frontend/FrontendLoginCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Frontend/IndexedSearchCest.php 0 additions, 1 deletion...sts/Acceptance/Application/Frontend/IndexedSearchCest.php
- typo3/sysext/core/Tests/Acceptance/Application/RecordList/RecordDownloadCest.php 0 additions, 1 deletion.../Acceptance/Application/RecordList/RecordDownloadCest.php
- typo3/sysext/core/Tests/Acceptance/Application/RecordList/SysNoteCest.php 0 additions, 1 deletion...e/Tests/Acceptance/Application/RecordList/SysNoteCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Template/TemplateCest.php 0 additions, 2 deletions...re/Tests/Acceptance/Application/Template/TemplateCest.php
- typo3/sysext/core/Tests/Acceptance/Support/Helper/PageTree.php 3 additions, 0 deletions.../sysext/core/Tests/Acceptance/Support/Helper/PageTree.php
Please register or sign in to comment