[TASK] Stabilize acceptance tests
Some acceptance tests fail radomly due to speed/timing of the checked elements or unresolved promises. This should be avoided now by using "waitForElements" instead of "canSeeElement". This may cause longer test runs but makes sure tests won't fail on performane hiccups. On top of that Icon.getIcon in DocumentSaveActions will catch unresolved promise in case a new page or reload was triggered by the button to avoid Javascript errors. For example in Scheduler -> Add Task and hit save. Resolves: #95070 Releases: master Change-Id: I927876ecfd46cbc2edae03db249982fcb8a9d2f0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70860 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DocumentSaveActions.ts 3 additions, 0 deletions...ackend/Resources/Public/TypeScript/DocumentSaveActions.ts
- typo3/sysext/backend/Resources/Public/JavaScript/DocumentSaveActions.js 1 addition, 1 deletion...ackend/Resources/Public/JavaScript/DocumentSaveActions.js
- typo3/sysext/core/Tests/Acceptance/Application/Impexp/ExportCest.php 2 additions, 2 deletions...t/core/Tests/Acceptance/Application/Impexp/ExportCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Page/PageModuleCest.php 5 additions, 5 deletions...core/Tests/Acceptance/Application/Page/PageModuleCest.php
- typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php 2 additions, 2 deletions...ts/Acceptance/Application/PageTree/PageTreeFilterCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Workspace/WorkspaceModuleCest.php 3 additions, 3 deletions.../Acceptance/Application/Workspace/WorkspaceModuleCest.php
Please register or sign in to comment