[TASK] AC tests: Change default log dir 47/51747/6
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 18 Feb 2017 21:13:38 +0000 (22:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 18 Feb 2017 22:58:59 +0000 (23:58 +0100)
Change acceptance tests log directories for better artifact
building in bamboo with screenshots and adapt two tests to
be less flacky.

Change-Id: Ib86531db23617f8205e5099532249653959662cf
Resolves: #79898
Releases: master
Reviewed-on: https://review.typo3.org/51747
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
components/testing_framework/Resources/Core/Build/AcceptanceTests.yml
typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Page/AddPageInPageModuleCest.php

index 15be77c..616c098 100644 (file)
@@ -2,7 +2,7 @@ actor: Tester
 paths:
 # @todo clean up here: https://forge.typo3.org/issues/79097 
   tests: ../../../../../typo3/sysext/core/Tests
-  log: ../../../../../typo3temp/var/tests
+  log: ../../../../../typo3temp/var/tests/AcceptanceReports
   data: Configuration/Acceptance/Data
   support: Configuration/Acceptance/Support
   envs: Configuration/Acceptance/Envs
index 2511c1b..85ee20f 100644 (file)
@@ -75,8 +75,7 @@ class BackendLoginCest
         $I->fillField('#t3-username', 'testify');
         $I->fillField('#t3-password', '123456');
         $I->click('#t3-login-submit-section > button');
-        $I->waitForText('Verifying Login Data');
-        $I->waitForElement('#t3-login-error');
+        $I->waitForElement('#t3-login-error', 30);
         $I->see('Your login attempt did not succeed');
     }
 
index 98faa62..a678d9d 100644 (file)
@@ -57,7 +57,7 @@ class AddPageInPageModuleCest
 
         $I->wait(1);
         $I->click($rootNodeContextMenuMore);
-        $I->waitForElementVisible($contextMenuNew);
+        $I->waitForElementVisible($contextMenuNew, 30);
         $I->click($contextMenuNew);
 
         // Switch to content frame