From 18b83d9004e907629762653e4a1341ab92e4dc2f Mon Sep 17 00:00:00 2001 From: Mona Muzaffar <mona.muzaffar@gmx.de> Date: Thu, 23 Feb 2017 09:15:12 +0100 Subject: [PATCH] [TASK] Temporarily skip flaky language tests Skip tests downloadALanguage() and activateAndDeactivateALanguage() Tests need to be fixed. Change-Id: I999359a83e0d8e092fda483a7799c70110eb10e4 Resolves: #79962 Releases: master Reviewed-on: https://review.typo3.org/51798 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../Acceptance/Backend/Language/LanguageCest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php index edb437aa0fb3..8f47e8a1056c 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Language/LanguageCest.php @@ -78,6 +78,9 @@ class LanguageCest */ public function activateAndDeactivateALanguage(Admin $I) { + //@todo: Fix this test + $this->skipUnstable(); + $I->wantTo('Install a language'); $I->seeElement('#language-da'); $I->seeElement('#language-da.disabled'); @@ -98,6 +101,9 @@ class LanguageCest */ public function downloadALanguage(Admin $I) { + //@todo: Fix this test + $this->skipUnstable(); + $I->wantTo('Download a language with no selection and see error message'); $I->click('a[data-action="updateActiveLanguages"]'); @@ -166,4 +172,12 @@ class LanguageCest // switch to content iframe $I->switchToIFrame('list_frame'); } + + /** + * @throws \PHPUnit_Framework_SkippedTestError + */ + protected function skipUnstable() + { + throw new \PHPUnit_Framework_SkippedTestError('Test unstable, skipped for now.'); + } } -- GitLab