Bug #82972
closedFailing acceptance tests activateAndDeactivateALanguage and downloadALanguage
100%
Description
On some runs the acceptance tests activateAndDeactivateALanguage
and downloadALanguage
fail.
There is no obvious reason for the first failing test activateAndDeactivateALanguage
.
The recorder result screenshots in
as well as the HTML source
do contain #language-pt_BR.enabled
which is the line where the LanguageCest fails:
$I->seeElement('#language-pt_BR'); $I->seeElement('#language-pt_BR.disabled'); $I->click('#language-pt_BR td a.activateLanguageLink'); $I->seeElement('#language-pt_BR.enabled');
Enabling a language takes 250ms on a server of ours - maybe the first call in a fresh instance is slower (sometimes?) due to missing caches? Still this does not explain why the screenshot and the HTML contain the correct element but WebDriver fails to find it.
The second failing test downloadALanguage
fails because of the first one - they use the same session - activateAndDeactivateALanguage
does not deactive the language due to its failure.
downloadALanguage
assumes there is currently no selected language in order to test the according error message before downloading anything.
As there is an activated language due to the failing activateAndDeactivateALanguage
test that click already leads to the download of the language and the wanted error alert is not shown.
The dependency between the tests should probably be removed.
Updated by Stephan Großberndt about 7 years ago
- Has duplicate Bug #82988: Stabilize Language Download Acceptance Test added
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54631
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54639
Updated by Anonymous about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 254ceef4b45001031ff9d60dd8a3e764564d7b19.