|
5 | 5 | * See COPYING.txt for license details.
|
6 | 6 | */
|
7 | 7 | -->
|
8 |
| -<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
9 |
| - xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 8 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
10 | 9 | <test name="TabItemValidateAdvancedConfigurationDefaultValuesTest">
|
11 | 10 | <annotations>
|
12 | 11 | <features value="PageBuilder"/>
|
|
30 | 29 | <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
|
31 | 30 | <argument name="contentType" value="PageBuilderTabsContentType"/>
|
32 | 31 | </actionGroup>
|
33 |
| - <!--Add Tabs to Stage --> |
| 32 | + <!-- Add Tabs to Stage --> |
34 | 33 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection">
|
35 | 34 | <argument name="contentType" value="PageBuilderTabsContentType"/>
|
36 | 35 | </actionGroup>
|
|
138 | 137 | <actionGroup ref="validateSlideOutPanelFieldIsNotRequired" stepKey="validateMarginsAndPaddingAttributeNotRequired">
|
139 | 138 | <argument name="property" value="PageBuilderAdvancedMarginsAndPaddingDefaultProperty"/>
|
140 | 139 | </actionGroup>
|
141 |
| - <!-- Assert against values --> |
142 |
| - <comment userInput="Margins: defaults to 0" stepKey="AC9"/> |
143 |
| - <comment userInput="Padding: defaults to 40 all sides" stepKey="AC10"/> |
| 140 | + |
| 141 | + <!-- Assert Values --> |
| 142 | + <comment userInput="Margins: Defaults to Empty" stepKey="AC9"/> |
| 143 | + <comment userInput="Padding: Defaults to Empty" stepKey="AC10"/> |
144 | 144 | <grabValueFrom selector="{{AdvancedForm.advancedMarginTop}}" stepKey="getTextMarginTop"/>
|
145 | 145 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextMarginTop">
|
146 | 146 | <actualResult type="variable">getTextMarginTop</actualResult>
|
147 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.marginTop}}</expectedResult> |
| 147 | + <expectedResult type="string">{{PageBuilderMarginsProperty_Empty.marginTop}}</expectedResult> |
148 | 148 | </assertEquals>
|
149 | 149 | <grabValueFrom selector="{{AdvancedForm.advancedMarginRight}}" stepKey="getTextMarginRight"/>
|
150 | 150 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextMarginRight">
|
151 | 151 | <actualResult type="variable">getTextMarginRight</actualResult>
|
152 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.marginRight}}</expectedResult> |
| 152 | + <expectedResult type="string">{{PageBuilderMarginsProperty_Empty.marginRight}}</expectedResult> |
153 | 153 | </assertEquals>
|
154 | 154 | <grabValueFrom selector="{{AdvancedForm.advancedMarginLeft}}" stepKey="getTextMarginLeft"/>
|
155 | 155 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextMarginLeft">
|
156 | 156 | <actualResult type="variable">getTextMarginLeft</actualResult>
|
157 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.marginLeft}}</expectedResult> |
| 157 | + <expectedResult type="string">{{PageBuilderMarginsProperty_Empty.marginLeft}}</expectedResult> |
158 | 158 | </assertEquals>
|
159 | 159 | <grabValueFrom selector="{{AdvancedForm.advancedMarginBottom}}" stepKey="getTextMarginBottom"/>
|
160 | 160 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextMarginBottom">
|
161 | 161 | <actualResult type="variable">getTextMarginBottom</actualResult>
|
162 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.marginBottom}}</expectedResult> |
| 162 | + <expectedResult type="string">{{PageBuilderMarginsProperty_Empty.marginBottom}}</expectedResult> |
163 | 163 | </assertEquals>
|
164 | 164 | <grabValueFrom selector="{{AdvancedForm.advancedPaddingTop}}" stepKey="getTextPaddingTop"/>
|
165 | 165 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextPaddingTop">
|
166 | 166 | <actualResult type="variable">getTextPaddingTop</actualResult>
|
167 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.paddingTop}}</expectedResult> |
| 167 | + <expectedResult type="string">{{PageBuilderPaddingProperty_Empty.paddingTop}}</expectedResult> |
168 | 168 | </assertEquals>
|
169 | 169 | <grabValueFrom selector="{{AdvancedForm.advancedPaddingRight}}" stepKey="getTextPaddingRight"/>
|
170 | 170 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextPaddingRight">
|
171 | 171 | <actualResult type="variable">getTextPaddingRight</actualResult>
|
172 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.paddingRight}}</expectedResult> |
| 172 | + <expectedResult type="string">{{PageBuilderPaddingProperty_Empty.paddingRight}}</expectedResult> |
173 | 173 | </assertEquals>
|
174 | 174 | <grabValueFrom selector="{{AdvancedForm.advancedPaddingLeft}}" stepKey="getTextPaddingLeft"/>
|
175 | 175 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextPaddingLeft">
|
176 | 176 | <actualResult type="variable">getTextPaddingLeft</actualResult>
|
177 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.paddingLeft}}</expectedResult> |
| 177 | + <expectedResult type="string">{{PageBuilderPaddingProperty_Empty.paddingLeft}}</expectedResult> |
178 | 178 | </assertEquals>
|
179 | 179 | <grabValueFrom selector="{{AdvancedForm.advancedPaddingBottom}}" stepKey="getTextPaddingBottom"/>
|
180 | 180 | <assertEquals message="Verify Text Alignment dropdown options" stepKey="assertTextPaddingBottom">
|
181 | 181 | <actualResult type="variable">getTextPaddingBottom</actualResult>
|
182 |
| - <expectedResult type="string">{{PageBuilderAdvancedMarginsAndPaddingPropertyDefaultSlide.paddingBottom}}</expectedResult> |
| 182 | + <expectedResult type="string">{{PageBuilderPaddingProperty_Empty.paddingBottom}}</expectedResult> |
183 | 183 | </assertEquals>
|
184 | 184 | </test>
|
185 | 185 | </tests>
|
0 commit comments