2 declare(strict_types = 1);
18 use Codeception\Example;
35 $I->useExistingSession(
'admin');
37 $pageTree->openPath([
'styleguide TCA demo',
'elements basic']);
38 $I->switchToContentFrame();
41 $I->waitForText(
'elements basic', 20);
42 $editRecordLinkCssPath =
'#recordlist-tx_styleguide_elements_basic a[data-original-title="Edit record"]';
43 $I->click($editRecordLinkCssPath);
44 $I->waitForElementNotVisible(
'#t3js-ui-block');
45 $I->waitForText(
'Edit Form', 3,
'h1');
55 'label' =>
'input_8 eval=double2',
56 'inputValue' =>
'12.335',
57 'expectedValue' =>
'12.34',
58 'expectedInternalValue' =>
'12.34',
59 'expectedValueAfterSave' =>
'12.34',
63 'label' =>
'input_8 eval=double2',
64 'inputValue' =>
'12,335',
65 'expectedValue' =>
'12.34',
66 'expectedInternalValue' =>
'12.34',
67 'expectedValueAfterSave' =>
'12.34',
71 'label' =>
'input_8 eval=double2',
72 'inputValue' =>
'1.1',
73 'expectedValue' =>
'1.10',
74 'expectedInternalValue' =>
'1.10',
75 'expectedValueAfterSave' =>
'1.10',
79 'label' =>
'input_8 eval=double2',
80 'inputValue' =>
'TYPO3',
81 'expectedValue' =>
'3.00',
82 'expectedInternalValue' =>
'3.00',
83 'expectedValueAfterSave' =>
'3.00',
87 'label' =>
'input_8 eval=double2',
88 'inputValue' =>
'3TYPO',
89 'expectedValue' =>
'3.00',
90 'expectedInternalValue' =>
'3.00',
91 'expectedValueAfterSave' =>
'3.00',
95 'label' =>
'input_9 eval=int',
96 'inputValue' =>
'12.335',
97 'expectedValue' =>
'12',
98 'expectedInternalValue' =>
'12',
99 'expectedValueAfterSave' =>
'12',
103 'label' =>
'input_9 eval=int',
104 'inputValue' =>
'12,9',
105 'expectedValue' =>
'129',
106 'expectedInternalValue' =>
'129',
107 'expectedValueAfterSave' =>
'129',
122 'label' =>
'input_9 eval=int',
123 'inputValue' =>
'3TYPO',
124 'expectedValue' =>
'3',
125 'expectedInternalValue' =>
'3',
126 'expectedValueAfterSave' =>
'3',
130 'label' =>
'input_15 eval=num',
131 'inputValue' =>
'12.335',
132 'expectedValue' =>
'12335',
133 'expectedInternalValue' =>
'12335',
134 'expectedValueAfterSave' =>
'12335',
138 'label' =>
'input_15 eval=num',
139 'inputValue' =>
'12,9',
140 'expectedValue' =>
'129',
141 'expectedInternalValue' =>
'129',
142 'expectedValueAfterSave' =>
'129',
146 'label' =>
'input_15 eval=num',
147 'inputValue' =>
'TYPO3',
148 'expectedValue' =>
'3',
149 'expectedInternalValue' =>
'3',
150 'expectedValueAfterSave' =>
'3',
154 'label' =>
'input_15 eval=num',
155 'inputValue' =>
'3TYPO',
156 'expectedValue' =>
'3',
157 'expectedInternalValue' =>
'3',
158 'expectedValueAfterSave' =>
'3',