[TASK] Make failing acceptance tests after image update run again 85/56885/12
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 6 May 2018 20:27:16 +0000 (22:27 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 8 May 2018 20:45:41 +0000 (22:45 +0200)
The agent update introduced a higher chromedriver version that
caused several acceptance tests to fail. Adjusting wait states
brings them back to green.

The bamboo plan update now uses a php.ini without xdebug and
simplifies the unit test runs in this area, too.

And we need a patch for typo3/testing-framework version 3.4.2:
composer update typo3/testing-framework

Change-Id: Icc7b6b062ad652db2c92ae7a7c5197477abf2b7d
Resolves: #84939
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/56885
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
20 files changed:
Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Build/bamboo/src/main/java/core/NightlySpec.java
composer.lock
typo3/sysext/core/Tests/Acceptance.suite.yml
typo3/sysext/core/Tests/Acceptance/Backend/BackendUser/ListUserCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Extensionmanager/GetExtensionsCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Extensionmanager/InstalledExtensionsCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/AbstractElementsBasicCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/CategoryTreeCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/ElementsBasicInputCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/ElementsBasicInputDateCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/ElementsGroupCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/FalMetadataInheritanceCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Scheduler/TasksCest.php
typo3/sysext/core/Tests/Acceptance/Backend/Template/TemplateCest.php
typo3/sysext/core/Tests/AcceptanceInstallMysql.suite.yml
typo3/sysext/core/Tests/AcceptanceInstallMysql/InstallWithMysqlIntroductionPackageCest.php
typo3/sysext/core/Tests/AcceptanceInstallPgsql.suite.yml
typo3/sysext/core/Tests/AcceptanceInstallPgsql/InstallWithPgsqlIntroductionPackageCest.php

index 1159bdc..627af5f 100644 (file)
@@ -663,8 +663,7 @@ abstract public class AbstractCoreSpec {
                     .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
                     .inlineBody(
                         this.getScriptTaskBashInlineBody() +
-                        this.getScriptTaskBashPhpNoXdebug() +
-                        "php_no_xdebug bin/phpunit --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTests.xml"
+                        "php -n -c /etc/php/cli-no-xdebug/php.ini bin/phpunit --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTests.xml"
                     )
             )
             .finalTasks(
@@ -696,8 +695,7 @@ abstract public class AbstractCoreSpec {
                     .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
                     .inlineBody(
                         this.getScriptTaskBashInlineBody() +
-                        this.getScriptTaskBashPhpNoXdebug() +
-                        "php_no_xdebug bin/phpunit --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTestsDeprecated.xml"
+                        "php -n -c /etc/php/cli-no-xdebug/php.ini bin/phpunit --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTestsDeprecated.xml"
                     )
             )
             .finalTasks(
@@ -733,8 +731,7 @@ abstract public class AbstractCoreSpec {
                         .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
                         .inlineBody(
                             this.getScriptTaskBashInlineBody() +
-                            this.getScriptTaskBashPhpNoXdebug() +
-                            "php_no_xdebug bin/phpunit-randomizer --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTests.xml --order rand"
+                            "php -n -c /etc/php/cli-no-xdebug/php.ini bin/phpunit-randomizer --log-junit test-reports/phpunit.xml -c " + this.testingFrameworkBuildPath + "UnitTests.xml --order rand"
                         )
                 )
                 .finalTasks(
@@ -800,7 +797,7 @@ abstract public class AbstractCoreSpec {
             .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
             .inlineBody(
                 this.getScriptTaskBashInlineBody() +
-                "php -S localhost:8000 >/dev/null 2>&1 &\n" +
+                "php -n -c /etc/php/cli-no-xdebug/php.ini -S localhost:8000 >/dev/null 2>&1 &\n" +
                 "echo $! > phpserver.pid\n" +
                 "\n" +
                 "./bin/chromedriver --url-base=/wd/hub >/dev/null 2>&1 &\n" +
@@ -959,20 +956,4 @@ abstract public class AbstractCoreSpec {
             "fi\n" +
             "\n";
     }
-
-    /**
-     * A bash function providing a php bin without xdebug
-     */
-    protected String getScriptTaskBashPhpNoXdebug() {
-        return
-            "php_no_xdebug () {\n" +
-            "    temporaryPath=\"$(mktemp -t php.XXXX).ini\"\n" +
-            "    php -i | grep \"\\.ini\" | grep -o -e '\\(/[A-Za-z0-9._-]\\+\\)\\+\\.ini' | grep -v xdebug | xargs awk 'FNR==1{print \"\"}1' > \"${temporaryPath}\"\n" +
-            "    php -n -c \"${temporaryPath}\" \"$@\"\n" +
-            "    RETURN=$?\n" +
-            "    rm -f \"${temporaryPath}\"\n" +
-            "    exit $RETURN\n" +
-            "}\n" +
-            "\n";
-    }
 }
index 739f52e..8377977 100644 (file)
@@ -154,8 +154,7 @@ public class NightlySpec extends AbstractCoreSpec {
                     .interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
                     .inlineBody(
                         this.getScriptTaskBashInlineBody() +
-                        this.getScriptTaskBashPhpNoXdebug() +
-                        "php_no_xdebug ./bin/php-cs-fixer fix -v --dry-run --path-mode intersection --config=Build/.php_cs typo3/\n" +
+                        "php -n -c /etc/php/cli-no-xdebug/php.ini bin/php-cs-fixer fix -v --dry-run --path-mode intersection --config=Build/.php_cs typo3/\n" +
                         "exit $?\n"
                     )
             )
index a6b663a..b5562c5 100644 (file)
@@ -1,7 +1,7 @@
 {
     "_readme": [
         "This file locks the dependencies of your project to a known state",
-        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
     "content-hash": "d7aa1d6bb21a2a96e095290923fb34cc",
         },
         {
             "name": "typo3/testing-framework",
-            "version": "3.4.1",
+            "version": "3.4.2",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3/testing-framework.git",
-                "reference": "3f63b438ded711e7a2188e209ed037c304dc21a1"
+                "reference": "a3adf6c77d9387367cf5d502e9f7e0602edc9aaa"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/3f63b438ded711e7a2188e209ed037c304dc21a1",
-                "reference": "3f63b438ded711e7a2188e209ed037c304dc21a1",
+                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/a3adf6c77d9387367cf5d502e9f7e0602edc9aaa",
+                "reference": "a3adf6c77d9387367cf5d502e9f7e0602edc9aaa",
                 "shasum": ""
             },
             "require": {
                 "tests",
                 "typo3"
             ],
-            "time": "2018-04-25T16:22:29+00:00"
+            "time": "2018-05-08T16:11:56+00:00"
         },
         {
             "name": "webmozart/assert",
index 6f48474..d8ce31c 100644 (file)
@@ -18,4 +18,4 @@ modules:
         # You can simply do that by scrolling to it.
         elementScrollBehavior: 1
         chromeOptions:
-          args: ["--headless", "--no-sandbox", "window-size=1280x1024"]
\ No newline at end of file
+          args: ["--headless", "--no-sandbox", "window-size=1280x1024", "--proxy-server='direct://'", "--proxy-bypass-list=*", "--disable-gpu"]
\ No newline at end of file
index 3c2b07e..0d0711e 100644 (file)
@@ -37,6 +37,7 @@ class ListUserCest
 
         // switch to content iframe
         $I->switchToIFrame('list_frame');
+        $I->waitForElementNotVisible('div#nprogess');
     }
 
     /**
@@ -66,6 +67,7 @@ class ListUserCest
         $I->wantTo('Filter the list of user by valid username admin');
         $I->fillField('#tx_Beuser_username', 'admin');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact one fitting Backend User created from the Fixtures
@@ -74,6 +76,7 @@ class ListUserCest
         $I->wantTo('Filter the list of user by valid username administrator');
         $I->fillField('#tx_Beuser_username', 'administrator');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact no fitting Backend User created from the Fixtures
@@ -93,6 +96,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only admins');
         $I->selectOption('#tx_Beuser_usertype', 'Admin only');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -101,6 +105,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see normal users');
         $I->selectOption('#tx_Beuser_usertype', 'Normal users only');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -120,6 +125,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only active users');
         $I->selectOption('#tx_Beuser_status', 'Active only');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -128,6 +134,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only inactive users');
         $I->selectOption('#tx_Beuser_status', 'Inactive only');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -147,6 +154,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only users logged in before');
         $I->selectOption('#tx_Beuser_logins', 'Logged in before');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -155,6 +163,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only users never logged in before');
         $I->selectOption('#tx_Beuser_logins', 'Never logged in');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact two fitting Backend Users created from the Fixtures
@@ -175,6 +184,7 @@ class ListUserCest
         $I->wantToTest('Filter BackendUser and see only users with given usergroup');
         $I->selectOption('#tx_beuser_backendUserGroup', 'editor-group');
         $I->click('Filter');
+        $I->waitForElementNotVisible('div#nprogess');
         $I->waitForElementVisible('#typo3-backend-user-list');
 
         // We expect exact one fitting Backend User created from the Fixtures
index cbc84c8..c5847dc 100644 (file)
@@ -69,7 +69,10 @@ class GetExtensionsCest
     {
         $I->fillField('input[name="tx_extensionmanager_tools_extensionmanagerextensionmanager[search]"]', 'superext');
         $I->click('Go');
+        // @todo do something about the double loading of the table, it is rendered twice (not double, but once, then retrieve extension list loader, then second time)
         $I->waitForElementVisible('#terSearchTable');
+        $I->wait(3);
+        $I->waitForElementNotVisible('div#nprogess');
         $I->canSeeNumberOfElements('#terSearchTable tbody tr', 1);
         $I->canSee('Super Extension');
 
@@ -78,6 +81,8 @@ class GetExtensionsCest
         $I->fillField('input[name="tx_extensionmanager_tools_extensionmanagerextensionmanager[search]"]', 'neededext');
         $I->pressKey('input[name="tx_extensionmanager_tools_extensionmanagerextensionmanager[search]"]', WebDriverKeys::ENTER);
         $I->waitForElementVisible('#terSearchTable');
+        $I->wait(3);
+        $I->waitForElementNotVisible('div#nprogess');
         $I->canSeeNumberOfElements('#terSearchTable tbody tr', 1);
         $I->canSee('Needed Extension');
     }
@@ -91,6 +96,8 @@ class GetExtensionsCest
         $I->click('Go');
         $I->waitForElementVisible('#terSearchTable');
         $I->canSeeNumberOfElements('#terSearchTable tbody tr', 2);
+        $I->wait(3);
+        $I->waitForElementNotVisible('div#nprogess');
         $I->canSee('Super Extension');
         $I->canSee('Needed Extension');
     }
index e6782cb..a24b417 100644 (file)
@@ -54,7 +54,7 @@ class InstalledExtensionsCest
         $I->canSee('documentation', '#typo3-extension-list tbody tr[role="row"] td');
 
         // unset the filter
-        $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
+        $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 10);
         $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
 
         $I->canSeeNumberOfElements('#typo3-extension-list tbody tr[role="row"]', [10, 100]);
@@ -81,13 +81,9 @@ class InstalledExtensionsCest
         $I->canSeeElement('#system_BelogLog');
 
         $I->switchToIFrame('list_frame');
-        $I->fillField('Tx_Extensionmanager_extensionkey', 'belog');
         $I->waitForElementVisible('//*[@id="typo3-extension-list"]/tbody/tr[@id="belog"]');
         $I->click('a[data-original-title="Deactivate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="belog"]');
 
-        $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
-        $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
-
         $I->switchToIFrame();
         $I->cantSeeElement('#system_BelogLog');
 
@@ -97,13 +93,9 @@ class InstalledExtensionsCest
         $I->cantSeeElement('#system_BelogLog');
 
         $I->switchToIFrame('list_frame');
-        $I->fillField('Tx_Extensionmanager_extensionkey', 'belog');
         $I->waitForElementVisible('//*[@id="typo3-extension-list"]/tbody/tr[@id="belog"]');
         $I->click('a[data-original-title="Activate"]', '//*[@id="typo3-extension-list"]/tbody/tr[@id="belog"]');
 
-        $I->waitForElementVisible('#Tx_Extensionmanager_extensionkey ~button.close', 1);
-        $I->click('#Tx_Extensionmanager_extensionkey ~button.close');
-
         $I->switchToIFrame();
         $I->canSeeElement('#system_BelogLog');
     }
index ba5e73f..e9f8b56 100644 (file)
@@ -53,6 +53,7 @@ abstract class AbstractElementsBasicCest
                 $inputField->sendKeys(WebDriverKeys::TAB);
                 // Click on the div so that any opened popup (potentially from the field below) is closed
                 $formSection->click();
+                $I->waitForElementNotVisible('#t3js-ui-block');
 
                 $I->comment('Test value of visible and hidden field');
                 $I->canSeeInField($inputField, $data['expectedValue']);
@@ -62,6 +63,7 @@ abstract class AbstractElementsBasicCest
                 $saveButtonLink = '//*/button[@name="_savedok"][1]';
                 $I->waitForElement($saveButtonLink, 30);
                 $I->click($saveButtonLink);
+                $I->waitForElementNotVisible('#t3js-ui-block');
                 $I->waitForElement('//*/button[@name="_savedok"][not(@disabled)][1]', 30);
                 $I->waitForElement($initializedInputFieldXpath, 30);
 
index 797dd5e..6d9f8e0 100644 (file)
@@ -29,6 +29,7 @@ class CategoryTreeCest
         $I->useExistingSession();
         // Ensure main content frame is fully loaded, otherwise there are load-race-conditions
         $I->switchToIFrame('list_frame');
+        $I->waitForElementNotVisible('div#nprogess', 30);
         $I->waitForText('Web Content Management System');
         $I->switchToIFrame();
     }
@@ -62,6 +63,7 @@ class CategoryTreeCest
         $I->waitForElementVisible('#recordlist-sys_category tr[data-uid="7"] a[data-original-title="Edit record"]');
         // Select category with id 7
         $I->click('#recordlist-sys_category tr[data-uid="7"] a[data-original-title="Edit record"]');
+        $I->waitForText('Category', 20);
         // Change title and level to root
         $I->fillField('input[data-formengine-input-name="data[sys_category][7][title]"]', 'level-1-4');
         $I->click('.identifier-0_7 text.node-name');
@@ -69,6 +71,7 @@ class CategoryTreeCest
         $I->click('button[name="_savedok"]');
         // Wait for tree and check if isset level-1-4
         $I->waitForElement('.svg-tree-wrapper svg');
-        $I->see('level-1-4', '.svg-tree-wrapper svg .node text.node-name');
+        $I->waitForText('Category');
+        $I->see('level-1-4');
     }
 }
index 95fdbc4..ad5b0f2 100644 (file)
@@ -39,11 +39,13 @@ class ElementsBasicInputCest extends AbstractElementsBasicCest
         $I->click('List');
         $pageTree->openPath(['styleguide TCA demo', 'elements basic']);
         $I->switchToIFrame('list_frame');
+        $I->waitForElementNotVisible('div#nprogess', 30);
 
         // Open record and wait until form is ready
-        $I->waitForText('elements basic');
+        $I->waitForText('elements basic', 20);
         $editRecordLinkCssPath = '#recordlist-tx_styleguide_elements_basic a[data-original-title="Edit record"]';
         $I->click($editRecordLinkCssPath);
+        $I->waitForElementNotVisible('#t3js-ui-block');
         $I->waitForText('Edit Form', 3, 'h1');
     }
 
index f041da6..371e446 100644 (file)
@@ -39,11 +39,13 @@ class ElementsBasicInputDateCest extends AbstractElementsBasicCest
         $I->click('List');
         $pageTree->openPath(['styleguide TCA demo', 'elements basic']);
         $I->switchToIFrame('list_frame');
+        $I->waitForElementNotVisible('div#nprogess', 30);
 
         // Open record and wait until form is ready
-        $I->waitForText('elements basic');
+        $I->waitForText('elements basic', 20);
         $editRecordLinkCssPath = '#recordlist-tx_styleguide_elements_basic a[data-original-title="Edit record"]';
         $I->click($editRecordLinkCssPath);
+        $I->waitForElementNotVisible('#t3js-ui-block');
         $I->waitForText('Edit Form', 3, 'h1');
         $I->click('inputDateTime');
         $I->waitForText('inputDateTime', 3);
index 1a4f25c..bc370d9 100644 (file)
@@ -33,10 +33,11 @@ class ElementsGroupCest
         $I->click('List');
         $pageTree->openPath(['styleguide TCA demo', 'elements group']);
         $I->switchToIFrame('list_frame');
+        $I->waitForElementNotVisible('div#nprogess', 30);
 
         $I->executeJS('window.name="TYPO3Main";');
 
-        $I->waitForText('elements group');
+        $I->waitForText('elements group', 20);
         $editRecordLinkCssPath = '#recordlist-tx_styleguide_elements_group a[data-original-title="Edit record"]';
         $I->click($editRecordLinkCssPath);
         $I->waitForText('Edit Form', 3, 'h1');
index 9a3c461..28c9f6b 100644 (file)
@@ -53,6 +53,7 @@ class FalMetadataInheritanceCest
         $I->switchToIFrame();
         $I->waitForElement('.t3js-modal.in');
         $I->wait(3);
+        $I->waitForElementNotVisible('div#nprogess');
         $I->click('Text & Images');
         $I->switchToIFrame('list_frame');
         $I->waitForText('Create new Page Content on page');
@@ -105,6 +106,7 @@ class FalMetadataInheritanceCest
         $I->switchToWindow();
         $I->switchToIFrame('list_frame');
         $I->click('tt_content with image');
+        $I->waitForElementNotVisible('#t3js-ui-block');
         $I->waitForText('Edit Page Content "tt_content with image" on page "styleguide TCA demo"');
         $I->click('Images');
         $I->click('.form-irre-header');
@@ -144,6 +146,7 @@ class FalMetadataInheritanceCest
         $I->switchToIFrame();
         $I->waitForElement('.t3js-modal.in');
         $I->wait(3);
+        $I->waitForElementNotVisible('div#nprogess');
         $I->click('Text & Images');
         $I->switchToIFrame('list_frame');
         $I->waitForText('Create new Page Content on page');
index 98976cd..3d69764 100644 (file)
@@ -37,7 +37,7 @@ class Inline1nCest
         $pageTree->openPath(['styleguide TCA demo', 'inline 1n']);
         $I->switchToIFrame('list_frame');
 
-        $I->waitForText('inline 1n');
+        $I->waitForText('inline 1n', 20);
         $editRecordLinkCssPath = '#recordlist-tx_styleguide_inline_1n a[data-original-title="Edit record"]';
         $I->click($editRecordLinkCssPath);
         $I->waitForText('Edit Form', 3, 'h1');
@@ -48,12 +48,12 @@ class Inline1nCest
      */
     public function checkIfExpandsAndCollapseShowInput(Admin $I)
     {
-        $I->wantTo('Expands the inline Elemnet');
+        $I->wantTo('Expands the inline Element');
         $I->click('div[data-toggle="formengine-inline"]', '#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div');
         $I->waitForElement('input[data-formengine-input-name="data[tx_styleguide_inline_1n_child][1][input_1]"]');
         $I->wantTo('check is the value in input');
         $I->seeInField('input[data-formengine-input-name="data[tx_styleguide_inline_1n_child][1][input_1]"]', 'lipsum');
-        $I->wantTo('Collapse the inline Elemnet');
+        $I->wantTo('Collapse the inline Element');
         $I->click('div[data-toggle="formengine-inline"]', '#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div');
         $I->waitForElementNotVisible('#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_fields.panel-collapse');
     }
index a2c5b59..379d462 100644 (file)
@@ -45,7 +45,7 @@ class TasksCest
     {
         $I->see('No tasks defined yet');
         $I->click('//a[contains(@title, "Add task")]', '.module-docheader');
-        $I->cantSeeElement('#task_SystemStatusUpdateNotificationEmail');
+        $I->waitForElementNotVisible('#task_SystemStatusUpdateNotificationEmail');
         $I->selectOption('#task_class', 'System Status Update');
         $I->seeElement('#task_SystemStatusUpdateNotificationEmail');
         $I->selectOption('#task_type', 'Single');
@@ -97,6 +97,7 @@ class TasksCest
         $I->dontSee('disabled');
         $I->wantTo('See a disable button for a task');
         $I->click('//a[contains(@data-original-title, "Disable")]');
+        $I->waitForElementVisible('div.tx_scheduler_mod1');
         $I->seeElement('.tx_scheduler_mod1 .disabled');
         $I->see('disabled');
     }
@@ -133,6 +134,7 @@ class TasksCest
     public function canSwitchToSetupCheck(Admin $I)
     {
         $I->selectOption('select[name=SchedulerJumpMenu]', 'Setup check');
+        $I->waitForElementVisible('div.tx_scheduler_mod1');
         $I->see('Setup check');
         $I->see('This screen checks if the requisites for running the Scheduler as a cron job are fulfilled');
     }
@@ -143,6 +145,7 @@ class TasksCest
     public function canSwitchToInformation(Admin $I)
     {
         $I->selectOption('select[name=SchedulerJumpMenu]', 'Information');
+        $I->waitForElementVisible('div.tx_scheduler_mod1');
         $I->see('Information');
         $I->canSeeNumberOfElements('.tx_scheduler_mod1 table tbody tr', [1, 10000]);
     }
index 54e2fe2..20fed44 100644 (file)
@@ -102,7 +102,9 @@ class TemplateCest
         // fill title input field
         $I->fillField('//input[@data-formengine-input-name="data[sys_template][1][title]"]', 'Acceptance Test Site');
         $I->click("//button[@name='_savedok']");
+        $I->waitForElementNotVisible('#t3js-ui-block', 30);
         $I->waitForElement('#EditDocumentController');
+        $I->waitForElementNotVisible('#t3js-ui-block');
 
         $I->wantTo('change the setup, save the template and close the form');
         // grap and fill setup textarea
@@ -134,6 +136,7 @@ class TemplateCest
         $I->waitForText('page.10.value =');
         $I->fillField('//input[@name="data[page.10.value][value]"]', 'HELLO WORLD!');
         $I->click('//input[@name="update_value"]');
+        $I->wait(2);
         $I->waitForText('Value updated');
         $I->see('page.10.value = HELLO WORLD!');
         $I->see('[value] = HELLO WORLD!');
index 7a43af8..7b74d05 100644 (file)
@@ -18,4 +18,4 @@ modules:
         # You can simply do that by scrolling to it.
         elementScrollBehavior: 1
         chromeOptions:
-          args: ["--headless", "--no-sandbox", "window-size=1280x1024"]
\ No newline at end of file
+          args: ["--headless", "--no-sandbox", "window-size=1280x1024", "--proxy-server='direct://'", "--proxy-bypass-list=*", "--disable-gpu"]
\ No newline at end of file
index d781de6..b28a3ff 100644 (file)
@@ -66,6 +66,7 @@ class InstallWithMysqlIntroductionPackageCest
         $I->seeCookie('be_typo_user');
 
         // Loading might take some time
+        $I->wait(10);
         $I->switchToIFrame('list_frame');
         $I->waitForText('Get preconfigured distribution', 30);
         $I->click('.t3-button-action-installdistribution');
index a4de529..3970aa7 100644 (file)
@@ -18,4 +18,4 @@ modules:
         # You can simply do that by scrolling to it.
         elementScrollBehavior: 1
         chromeOptions:
-          args: ["--headless", "--no-sandbox", "window-size=1280x1024"]
+          args: ["--headless", "--no-sandbox", "window-size=1280x1024", "--proxy-server='direct://'", "--proxy-bypass-list=*", "--disable-gpu"]
index 5c6358d..074b3e7 100644 (file)
@@ -62,6 +62,7 @@ class InstallWithPgsqlIntroductionPackageCest
         $I->seeCookie('be_typo_user');
 
         // Loading might take some time
+        $I->wait(10);
         $I->switchToIFrame('list_frame');
         $I->waitForText('Get preconfigured distribution', 30);
         $I->click('.t3-button-action-installdistribution');