|
189 | 189 | </assertEquals>
|
190 | 190 | <executeJS function="return document.evaluate('{{RowOnStage.base('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSBlockStageMobile"/>
|
191 | 191 | <executeJS function="return Math.abs({$viewportHeightCMSBlockStageMobile} - 200)" stepKey="expectedSecondHeightCMSBlockStageMobile"/>
|
| 192 | + <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSBlockStageMobile"> |
| 193 | + <argument name="selector" value="{{RowOnStage.base('2')}}"/> |
| 194 | + <argument name="expectedProperty" value="$expectedSecondHeightCMSBlockStageMobile"/> |
| 195 | + <argument name="cssProperty" value="minHeight"/> |
| 196 | + </actionGroup> |
192 | 197 | <assertEquals stepKey="assertSecondMinHeightCMSBlockStageMobile">
|
193 | 198 | <actualResult type="variable">secondMinHeightCMSBlockStageMobile</actualResult>
|
194 | 199 | <expectedResult type="variable">expectedSecondHeightCMSBlockStageMobile</expectedResult>
|
|
278 | 283 | </assertEquals>
|
279 | 284 | <executeJS function="return document.evaluate('{{RowOnStorefront.base('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSPageStageMobile"/>
|
280 | 285 | <executeJS function="return Math.abs({$viewportHeightCMSPageStageMobile} - 200)" stepKey="expectedSecondHeightCMSPageStageMobile"/>
|
| 286 | + <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSPageStageMobile"> |
| 287 | + <argument name="selector" value="{{RowOnStorefront.base('3')}}"/> |
| 288 | + <argument name="expectedProperty" value="$expectedSecondHeightCMSPageStageMobile"/> |
| 289 | + <argument name="cssProperty" value="minHeight"/> |
| 290 | + </actionGroup> |
281 | 291 | <assertEquals stepKey="assertSecondMinHeightCMSPageStageMobile">
|
282 | 292 | <actualResult type="variable">secondMinHeightCMSPageStageMobile</actualResult>
|
283 | 293 | <expectedResult type="variable">expectedSecondHeightCMSPageStageMobile</expectedResult>
|
|
348 | 358 | </assertEquals>
|
349 | 359 | <executeJS function="return document.evaluate('{{RowOnStorefront.base('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightStorefrontMobile"/>
|
350 | 360 | <executeJS function="return Math.abs({$viewportHeightStorefrontMobile} - 200)" stepKey="expectedSecondHeightStorefrontMobile"/>
|
| 361 | + <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightStorefrontMobile"> |
| 362 | + <argument name="selector" value="{{RowOnStorefront.base('3')}}"/> |
| 363 | + <argument name="expectedProperty" value="$expectedSecondHeightStorefrontMobile"/> |
| 364 | + <argument name="cssProperty" value="minHeight"/> |
| 365 | + </actionGroup> |
351 | 366 | <assertEquals stepKey="assertSecondMinHeightStorefrontMobile">
|
352 | 367 | <actualResult type="variable">secondMinHeightStorefrontMobile</actualResult>
|
353 | 368 | <expectedResult type="variable">expectedSecondHeightStorefrontMobile</expectedResult>
|
|
0 commit comments