[TASK] Raise styleguide to 8.0.12 58/53058/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 15:39:08 +0000 (17:39 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 2 Jun 2017 17:33:49 +0000 (19:33 +0200)
A series of bug fixes and most TCA example records
are now multi language aware and the generator creates
multi language data records.

Change-Id: I5fca90642fde64269d08c9fc9f41ad5f949ed8ef
Resolves: #81441
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53058
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
composer.lock
typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php

index 4a5782a..e858c14 100644 (file)
         },
         {
             "name": "typo3/cms-styleguide",
-            "version": "8.0.9",
+            "version": "8.0.12",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3/styleguide.git",
-                "reference": "67ef37d488d908b379d4dce113b489d440c7be3c"
+                "reference": "0a1ab0e425f5033f1c7329975565996c7c2da6f8"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/67ef37d488d908b379d4dce113b489d440c7be3c",
-                "reference": "67ef37d488d908b379d4dce113b489d440c7be3c",
+                "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/0a1ab0e425f5033f1c7329975565996c7c2da6f8",
+                "reference": "0a1ab0e425f5033f1c7329975565996c7c2da6f8",
                 "shasum": ""
             },
             "replace": {
                 "typo3",
                 "typo3 backend"
             ],
-            "time": "2017-03-29T15:43:53+00:00"
+            "time": "2017-06-02T15:58:51+00:00"
         },
         {
             "name": "typo3/testing-framework",
index f1d82dd..a7508cd 100644 (file)
@@ -80,15 +80,18 @@ class Inline1nCest
         $fieldLabel = 'input_1';
         $testValue = 'Fo Bar';
 
-        $this->fillFieldByLable($I, $fieldLabel, $testValue);
+        $this->fillFieldByLabel($I, $fieldLabel, $testValue);
 
         $I->click('button[name="_savedok"]');
         $I->wait(3);
         $I->click('a[title="Close"]');
         $I->wait(3);
 
+        $I->executeJS('$(\'a[data-table="pages_language_overlay"] .icon-actions-view-list-collapse\').click();');
+        $I->wait(1);
+
         $I->see('lipsum', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(2) > a');
-        $I->see('Fo Bar', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(2) > a');
+        $I->see('Fo Bar', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(2) > a');
     }
 
     /**
@@ -104,9 +107,12 @@ class Inline1nCest
         $I->click('a[title="Close"]');
         $I->wait(3);
 
+        $I->executeJS('$(\'a[data-table="pages_language_overlay"] .icon-actions-view-list-collapse\').click();');
+        $I->wait(1);
+
         $I->wantTo('Check new sorting');
-        $I->see('Fo Bar', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(2) > a');
-        $I->see('lipsum', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(2) > a');
+        $I->see('Fo Bar', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(2) > td:nth-child(2) > a');
+        $I->see('lipsum', '#recordlist-tx_styleguide_inline_1n_child > div:nth-child(1) > table:nth-child(1) > tbody:nth-child(2) > tr:nth-child(3) > td:nth-child(2) > a');
     }
 
     /**
@@ -151,7 +157,7 @@ class Inline1nCest
      * @param $fieldLabel
      * @param $testValue
      */
-    protected function fillFieldByLable(Admin $I, $fieldLabel, $testValue)
+    protected function fillFieldByLabel(Admin $I, $fieldLabel, $testValue)
     {
         $fieldContext = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) use (
             $fieldLabel