Skip to content
Snippets Groups Projects
Commit 1f58607e authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Benjamin Franzke
Browse files

[TASK] Resolve @todo in ElementsBasicInputTextTableCest

This answers the question, why we check for 2 fields.

Resolves: #96970
Releases: main, 11.5
Change-Id: Id2f74fe1362569765b0c030f810d5e208a15ad8e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73547


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent 00e3fa61
Branches
Tags
No related merge requests found
......@@ -163,7 +163,8 @@ class ElementsBasicInputTextTableCest extends AbstractElementsBasicCest
$fieldCount = count($formSection->findElements(WebDriverBy::cssSelector('typo3-backend-table-wizard input')));
// @todo: why the fuck are 2 expected when there is only one visible??!!
// Styleguide creates 3 rows and 2 columns for this field (3*2=6 input fields).
// Removing 1 row and 1 column means 2 rows and 1 column should be left (2*1=2 input fields).
$I->assertEquals(2, $fieldCount);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment