|
82 | 82 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
83 | 83 | <argument name="cssProperty" value="minHeight"/>
|
84 | 84 | </actionGroup>
|
85 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightCMSBlockStageDesktop"/> |
| 85 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightCMSBlockStageDesktop"/> |
86 | 86 |
|
87 | 87 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSBlockStageDesktop">
|
88 | 88 | <argument name="selector" value="{{BannerOnBackend.overlay('2')}}"/>
|
89 | 89 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
90 | 90 | <argument name="cssProperty" value="minHeight"/>
|
91 | 91 | </actionGroup>
|
92 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSBlockStageDesktop"/> |
| 92 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightCMSBlockStageDesktop"/> |
93 | 93 |
|
94 | 94 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeThirdMinHeightCMSBlockStageDesktop">
|
95 | 95 | <argument name="selector" value="{{BannerOnBackend.overlay('3')}}"/>
|
96 | 96 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_0.value}}"/>
|
97 | 97 | <argument name="cssProperty" value="minHeight"/>
|
98 | 98 | </actionGroup>
|
99 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightCMSBlockStageDesktop"/> |
100 |
| - <assertEquals stepKey="assertThirdMinHeightCMSBlockStageDesktop"> |
101 |
| - <actualResult type="variable">thirdMinHeightCMSBlockStageDesktop</actualResult> |
| 99 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightCMSBlockStageDesktop"/> |
| 100 | + <assertEquals stepKey="assertThirdHeightEqualsMinHeightCMSBlockStageDesktop"> |
| 101 | + <actualResult type="variable">thirdActualHeightCMSBlockStageDesktop</actualResult> |
102 | 102 | <expectedResult type="string">50</expectedResult>
|
103 | 103 | </assertEquals>
|
104 | 104 |
|
|
108 | 108 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
109 | 109 | <argument name="cssProperty" value="minHeight"/>
|
110 | 110 | </actionGroup>
|
111 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightCMSBlockStageMobile"/> |
| 111 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightCMSBlockStageMobile"/> |
112 | 112 |
|
113 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSBlockStageMobile"/> |
| 113 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightCMSBlockStageMobile"/> |
114 | 114 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSBlockStageMobile">
|
115 | 115 | <argument name="selector" value="{{BannerOnBackend.overlay('2')}}"/>
|
116 | 116 | <argument name="expectedProperty" value="$expectedSecondHeightCMSBlockStageMobile"/>
|
|
122 | 122 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_200px.intValue}}"/>
|
123 | 123 | <argument name="cssProperty" value="minHeight"/>
|
124 | 124 | </actionGroup>
|
125 |
| - <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightCMSBlockStageMobile"/> |
| 125 | + <executeJS function="return document.evaluate('{{BannerOnBackend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightCMSBlockStageMobile"/> |
126 | 126 |
|
127 | 127 | <!-- Validate CMS Page Stage Desktop Viewport -->
|
128 | 128 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeFirstMinHeightCMSPageStageDesktop">
|
129 | 129 | <argument name="selector" value="{{BannerOnFrontend.overlay('1')}}"/>
|
130 | 130 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
131 | 131 | <argument name="cssProperty" value="minHeight"/>
|
132 | 132 | </actionGroup>
|
133 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightCMSPageStageDesktop"/> |
| 133 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightCMSPageStageDesktop"/> |
134 | 134 |
|
135 | 135 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSPageStageDesktop">
|
136 | 136 | <argument name="selector" value="{{BannerOnFrontend.overlay('2')}}"/>
|
137 | 137 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
138 | 138 | <argument name="cssProperty" value="minHeight"/>
|
139 | 139 | </actionGroup>
|
140 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSPageStageDesktop"/> |
| 140 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightCMSPageStageDesktop"/> |
141 | 141 |
|
142 | 142 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeThirdMinHeightCMSPageStageDesktop">
|
143 | 143 | <argument name="selector" value="{{BannerOnFrontend.overlay('3')}}"/>
|
144 | 144 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_0.value}}"/>
|
145 | 145 | <argument name="cssProperty" value="minHeight"/>
|
146 | 146 | </actionGroup>
|
147 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightCMSPageStageDesktop"/> |
148 |
| - <assertEquals stepKey="assertThirdMinHeightCMSPageStageDesktop"> |
149 |
| - <actualResult type="variable">thirdMinHeightCMSPageStageDesktop</actualResult> |
| 147 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightCMSPageStageDesktop"/> |
| 148 | + <assertEquals stepKey="assertThirdHeightEqualsMinHeightCMSPageStageDesktop"> |
| 149 | + <actualResult type="variable">thirdActualHeightCMSPageStageDesktop</actualResult> |
150 | 150 | <expectedResult type="string">50</expectedResult>
|
151 | 151 | </assertEquals>
|
152 | 152 |
|
|
156 | 156 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
157 | 157 | <argument name="cssProperty" value="minHeight"/>
|
158 | 158 | </actionGroup>
|
159 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightCMSPageStageMobile"/> |
| 159 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightCMSPageStageMobile"/> |
160 | 160 |
|
161 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightCMSPageStageMobile"/> |
| 161 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightCMSPageStageMobile"/> |
162 | 162 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightCMSPageStageMobile">
|
163 | 163 | <argument name="selector" value="{{BannerOnFrontend.overlay('2')}}"/>
|
164 | 164 | <argument name="expectedProperty" value="$expectedSecondHeightCMSPageStageMobile"/>
|
|
170 | 170 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_200px.intValue}}"/>
|
171 | 171 | <argument name="cssProperty" value="minHeight"/>
|
172 | 172 | </actionGroup>
|
173 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightCMSPageStageMobile"/> |
| 173 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightCMSPageStageMobile"/> |
174 | 174 |
|
175 | 175 | <!-- Validate Storefront Desktop -->
|
176 | 176 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeFirstMinHeightStorefront">
|
177 | 177 | <argument name="selector" value="{{BannerOnFrontend.overlay('1')}}"/>
|
178 | 178 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
179 | 179 | <argument name="cssProperty" value="minHeight"/>
|
180 | 180 | </actionGroup>
|
181 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightStorefront"/> |
| 181 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightStorefront"/> |
182 | 182 |
|
183 | 183 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightStorefront">
|
184 | 184 | <argument name="selector" value="{{BannerOnFrontend.overlay('2')}}"/>
|
185 | 185 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
186 | 186 | <argument name="cssProperty" value="minHeight"/>
|
187 | 187 | </actionGroup>
|
188 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightStorefront"/> |
| 188 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightStorefront"/> |
189 | 189 |
|
190 | 190 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeThirdMinHeightStorefront">
|
191 | 191 | <argument name="selector" value="{{BannerOnFrontend.overlay('3')}}"/>
|
192 | 192 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_0.value}}"/>
|
193 | 193 | <argument name="cssProperty" value="minHeight"/>
|
194 | 194 | </actionGroup>
|
195 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightStorefront"/> |
196 |
| - <assertEquals stepKey="assertThirdMinHeightStorefront"> |
197 |
| - <actualResult type="variable">thirdMinHeightCMSPageStageDesktop</actualResult> |
| 195 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightStorefront"/> |
| 196 | + <assertEquals stepKey="assertThirdHeightEqualsMinHeightStorefront"> |
| 197 | + <actualResult type="variable">thirdActualHeightStorefront</actualResult> |
198 | 198 | <expectedResult type="string">50</expectedResult>
|
199 | 199 | </assertEquals>
|
200 | 200 |
|
|
204 | 204 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_500px.intValue}}"/>
|
205 | 205 | <argument name="cssProperty" value="minHeight"/>
|
206 | 206 | </actionGroup>
|
207 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstMinHeightStorefrontMobile"/> |
| 207 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('1')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="firstActualHeightStorefrontMobile"/> |
208 | 208 |
|
209 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondMinHeightStorefrontMobile"/> |
| 209 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('2')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="secondActualHeightStorefrontMobile"/> |
210 | 210 | <actionGroup ref="ValidateContentTypesStyleEqualsExpectedStyleActionGroup" stepKey="seeSecondMinHeightStorefrontMobile">
|
211 | 211 | <argument name="selector" value="{{BannerOnFrontend.overlay('2')}}"/>
|
212 | 212 | <argument name="expectedProperty" value="$expectedSecondHeightStorefrontMobile"/>
|
|
218 | 218 | <argument name="expectedProperty" value="{{PageBuilderMinHeightProperty_200px.intValue}}"/>
|
219 | 219 | <argument name="cssProperty" value="minHeight"/>
|
220 | 220 | </actionGroup>
|
221 |
| - <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdMinHeightStorefrontMobile"/> |
| 221 | + <executeJS function="return document.evaluate('{{BannerOnFrontend.overlay('3')}}', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.getBoundingClientRect().height" stepKey="thirdActualHeightStorefrontMobile"/> |
222 | 222 | </test>
|
223 | 223 | </tests>
|
0 commit comments