[TASK] Skip another unstable acceptance test 67/51767/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Feb 2017 10:18:38 +0000 (11:18 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 20 Feb 2017 13:46:20 +0000 (14:46 +0100)
The "addAndDeletePage" acceptance test is still unstable, even with
multiple people trying to stabilize that thing already. To raise acceptance
of acceptance tests during core development, this one is skipped for now.

Resolves: #79913
Releases: master
Change-Id: I55ac9ede4b241a737046d1c0ee16618c314f9d79
Reviewed-on: https://review.typo3.org/51767
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Tests/Acceptance/Backend/Page/AddPageInPageModuleCest.php

index a678d9d..3de9449 100644 (file)
@@ -38,6 +38,9 @@ class AddPageInPageModuleCest
      */
     public function addAndDeletePage(Admin $I)
     {
      */
     public function addAndDeletePage(Admin $I)
     {
+        // @todo: Fix in high load scenarios or throw away
+        $this->skipUnstable();
+
         // Select page module
         $I->wantToTest('Add a page with page module');
         $I->click('Page');
         // Select page module
         $I->wantToTest('Add a page with page module');
         $I->click('Page');
@@ -111,4 +114,12 @@ class AddPageInPageModuleCest
         $I->wait(2);
         $I->cantSee('Testpage');
     }
         $I->wait(2);
         $I->cantSee('Testpage');
     }
+
+    /**
+     * @throws \PHPUnit_Framework_SkippedTestError
+     */
+    protected function skipUnstable()
+    {
+        throw new \PHPUnit_Framework_SkippedTestError('Test unstable, skipped for now.');
+    }
 }
 }