From 549593808b49f4b2c2f76e8d67f0b12ffbf8fc22 Mon Sep 17 00:00:00 2001 From: Christian Kuhn <lolli@schwarzbu.ch> Date: Wed, 8 Nov 2017 15:54:06 +0100 Subject: [PATCH] [TASK] Update ext:styleguide to 9.0.0 The v9/master branch of styleguide generates correct page localizations of styleguide demo data pages in table pages instead of pages_language_overlay. Change-Id: I1186f421cb4c5f05e508d19e60b9a580a7c3d5dc Resolves: #82952 Related: #82445 Releases: master Reviewed-on: https://review.typo3.org/54592 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- composer.json | 2 +- composer.lock | 12 +++++------ .../Backend/Formhandler/Inline1nCest.php | 20 +++++++++---------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 62a4f1b85990..88e35272d7ca 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ "typo3/testing-framework": "~1.1.0", "codeception/codeception": "^2.3", "enm1989/chromedriver": "~2.30", - "typo3/cms-styleguide": "~8.0.8", + "typo3/cms-styleguide": "~9.0.0", "friendsofphp/php-cs-fixer": "^2.0", "fiunchinho/phpunit-randomizer": "~3.0.0" }, diff --git a/composer.lock b/composer.lock index 617cb845061c..d61a519c5c22 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "b603bc5f3ec745ae1db133cca1fc6d46", + "content-hash": "f8ebffa676af5146bdaa2b87785bc3d8", "packages": [ { "name": "cogpowered/finediff", @@ -4099,16 +4099,16 @@ }, { "name": "typo3/cms-styleguide", - "version": "8.0.13", + "version": "9.0.0", "source": { "type": "git", "url": "https://github.com/TYPO3/styleguide.git", - "reference": "fd49466bad8aa9ce395d14443ce81cff711cb305" + "reference": "a33efbb4279fd218087376739da4a0aeec85a607" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/fd49466bad8aa9ce395d14443ce81cff711cb305", - "reference": "fd49466bad8aa9ce395d14443ce81cff711cb305", + "url": "https://api.github.com/repos/TYPO3/styleguide/zipball/a33efbb4279fd218087376739da4a0aeec85a607", + "reference": "a33efbb4279fd218087376739da4a0aeec85a607", "shasum": "" }, "replace": { @@ -4144,7 +4144,7 @@ "typo3", "typo3 backend" ], - "time": "2017-11-08T12:44:36+00:00" + "time": "2017-11-08T14:50:48+00:00" }, { "name": "typo3/testing-framework", diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php index f3b3dc686ac7..af2e41ef56f9 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/Inline1nCest.php @@ -48,13 +48,13 @@ class Inline1nCest public function checkIfExpandsAndCollapseShowInput(Admin $I) { $I->wantTo('Expands the inline Elemnet'); - $I->click('div[data-toggle="formengine-inline"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); + $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->click('div[data-toggle="formengine-inline"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); - $I->waitForElementNotVisible('#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_fields.panel-collapse'); + $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'); } /** @@ -63,11 +63,11 @@ class Inline1nCest public function hideAndUnhideInline1nInlineElement(Admin $I) { $I->wantTo('Can hide a Inline Element'); - $I->click('a span[data-identifier="actions-edit-hide"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); - $I->waitForElement('#data-12-tx_styleguide_inline_1n-1-inline_1_records .t3-form-field-container-inline-hidden'); + $I->click('a span[data-identifier="actions-edit-hide"]', '#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); + $I->waitForElement('#data-52-tx_styleguide_inline_1n-1-inline_1_records .t3-form-field-container-inline-hidden'); $I->wantTo('Can unhide a Inline Element'); - $I->click('a span[data-identifier="actions-edit-unhide"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); - $I->waitForElementNotVisible('#data-12-tx_styleguide_inline_1n-1-inline_1_records .t3-form-field-container-inline-hidden', 2); + $I->click('a span[data-identifier="actions-edit-unhide"]', '#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_records .t3-form-field-container-inline-hidden', 2); } /** @@ -101,7 +101,7 @@ class Inline1nCest public function checkIfCanSortingInlineElement(Admin $I) { $I->wantTo('Can sort an Inline Element'); - $I->click('a span[data-identifier="actions-move-down"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); + $I->click('a span[data-identifier="actions-move-down"]', '#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); $I->click('button[name="_savedok"]'); $I->wait(3); $I->click('a[title="Close"]'); @@ -120,7 +120,7 @@ class Inline1nCest */ public function changeInline1nInlineInput(Admin $I) { - $I->click('div[data-toggle="formengine-inline"]', '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'); + $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->fillField('input[data-formengine-input-name="data[tx_styleguide_inline_1n_child][1][input_1]"]', 'hello world'); $I->click('button[name="_savedok"]'); @@ -136,7 +136,7 @@ class Inline1nCest */ public function deleteInline1nInlineElement(Admin $I, ModalDialog $modalDialog) { - $inlineElmentToDelete = '#data-12-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'; + $inlineElmentToDelete = '#data-52-tx_styleguide_inline_1n-1-inline_1-tx_styleguide_inline_1n_child-1_div'; $I->wantTo('Cancel the delete dialog'); $I->click('a span[data-identifier="actions-edit-delete"]', $inlineElmentToDelete); $modalDialog->clickButtonInDialog('button[name="no"]'); -- GitLab