|
268 | 268 | <waitForElementVisible selector="{{StorefrontProductFullWidth.attributes}}" stepKey="waitForCustomAttribute"/>
|
269 | 269 | <see userInput="{{PageBuilderHeadingText_CustomAttribute.value}}" selector="{{StorefrontProductFullWidth.attributes}}" stepKey="seeHeadingCustomAttribute"/>
|
270 | 270 | <waitForElementVisible selector="{{StorefrontProductFullWidth.reviews}}" stepKey="waitForReviews"/>
|
271 |
| - <waitForElementVisible selector="{{StorefrontProductFullWidth.relatedProducts}}" stepKey="waitForRelatedProducts"/> |
272 |
| - <waitForElementVisible selector="{{StorefrontProductFullWidth.upsellProducts}}" stepKey="waitForUpSellProducts"/> |
| 271 | + <waitForElementVisible selector="{{StorefrontProductFullWidth.related}}" stepKey="waitForRelatedProducts"/> |
| 272 | + <waitForElementVisible selector="{{StorefrontProductFullWidth.upsell}}" stepKey="waitForUpSellProducts"/> |
273 | 273 |
|
274 | 274 | <!-- Storefront 1600px: Assert Sections on Page are in Correct Order: Left/Right -->
|
275 | 275 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.media}}')[0].getBoundingClientRect().x" stepKey="productMediaXPosition"/>
|
|
282 | 282 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.description}}')[0].getBoundingClientRect().x" stepKey="descriptionXPosition"/>
|
283 | 283 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.attributes}}')[0].getBoundingClientRect().x" stepKey="customAttributeXPosition"/>
|
284 | 284 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.reviews}}')[0].getBoundingClientRect().x" stepKey="reviewsXPosition"/>
|
285 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.relatedProducts}}')[0].getBoundingClientRect().x" stepKey="relatedXPosition"/> |
286 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsellProducts}}')[0].getBoundingClientRect().x" stepKey="upsellXPosition"/> |
| 285 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.related}}')[0].getBoundingClientRect().x" stepKey="relatedXPosition"/> |
| 286 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsell}}')[0].getBoundingClientRect().x" stepKey="upsellXPosition"/> |
287 | 287 | <assertGreaterThan stepKey="assertImageLeftOfTitle">
|
288 | 288 | <expectedResult type="variable">productMediaXPosition</expectedResult>
|
289 | 289 | <actualResult type="variable">productTitleXPosition</actualResult>
|
|
340 | 340 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.description}}')[0].getBoundingClientRect().y" stepKey="descriptionYPosition"/>
|
341 | 341 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.attributes}}')[0].getBoundingClientRect().y" stepKey="customAttributeYPosition"/>
|
342 | 342 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.reviews}}')[0].getBoundingClientRect().y" stepKey="reviewsYPosition"/>
|
343 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.relatedProducts}}')[0].getBoundingClientRect().y" stepKey="relatedYPosition"/> |
344 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsellProducts}}')[0].getBoundingClientRect().y" stepKey="upsellYPosition"/> |
| 343 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.related}}')[0].getBoundingClientRect().y" stepKey="relatedYPosition"/> |
| 344 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsell}}')[0].getBoundingClientRect().y" stepKey="upsellYPosition"/> |
345 | 345 | <assertGreaterThan stepKey="assertDescriptionBelowImage">
|
346 | 346 | <expectedResult type="variable">productMediaYPosition</expectedResult>
|
347 | 347 | <actualResult type="variable">descriptionYPosition</actualResult>
|
|
436 | 436 | <waitForElementVisible selector="{{StorefrontProductFullWidth.attributes}}" stepKey="waitForCustomAttribute2"/>
|
437 | 437 | <see userInput="{{PageBuilderHeadingText_CustomAttribute.value}}" selector="{{StorefrontProductFullWidth.attributes}}" stepKey="seeHeadingCustomAttribute2"/>
|
438 | 438 | <waitForElementVisible selector="{{StorefrontProductFullWidth.reviews}}" stepKey="waitForReviews2"/>
|
439 |
| - <waitForElementVisible selector="{{StorefrontProductFullWidth.relatedProducts}}" stepKey="waitForRelatedProducts2"/> |
440 |
| - <waitForElementVisible selector="{{StorefrontProductFullWidth.upsellProducts}}" stepKey="waitForUpSellProducts2"/> |
| 439 | + <waitForElementVisible selector="{{StorefrontProductFullWidth.related}}" stepKey="waitForRelatedProducts2"/> |
| 440 | + <waitForElementVisible selector="{{StorefrontProductFullWidth.upsell}}" stepKey="waitForUpSellProducts2"/> |
441 | 441 |
|
442 | 442 | <!-- Storefront 767px Width: Assert Sections on Page are in Correct Order: Left/Right -->
|
443 | 443 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.media}}')[0].getBoundingClientRect().x" stepKey="productMediaXPosition2"/>
|
|
450 | 450 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.description}}')[0].getBoundingClientRect().x" stepKey="descriptionXPosition2"/>
|
451 | 451 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.attributes}}')[0].getBoundingClientRect().x" stepKey="customAttributeXPosition2"/>
|
452 | 452 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.reviews}}')[0].getBoundingClientRect().x" stepKey="reviewsXPosition2"/>
|
453 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.relatedProducts}}')[0].getBoundingClientRect().x" stepKey="relatedXPosition2"/> |
454 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsellProducts}}')[0].getBoundingClientRect().x" stepKey="upsellXPosition2"/> |
| 453 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.related}}')[0].getBoundingClientRect().x" stepKey="relatedXPosition2"/> |
| 454 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsell}}')[0].getBoundingClientRect().x" stepKey="upsellXPosition2"/> |
455 | 455 | <assertEquals stepKey="assertImageXSameAsTitle2">
|
456 | 456 | <expectedResult type="variable">productMediaXPosition2</expectedResult>
|
457 | 457 | <actualResult type="variable">productTitleXPosition2</actualResult>
|
|
508 | 508 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.description}}')[0].getBoundingClientRect().y" stepKey="descriptionYPosition2"/>
|
509 | 509 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.attributes}}')[0].getBoundingClientRect().y" stepKey="customAttributeYPosition2"/>
|
510 | 510 | <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.reviews}}')[0].getBoundingClientRect().y" stepKey="reviewsYPosition2"/>
|
511 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.relatedProducts}}')[0].getBoundingClientRect().y" stepKey="relatedYPosition2"/> |
512 |
| - <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsellProducts}}')[0].getBoundingClientRect().y" stepKey="upsellYPosition2"/> |
| 511 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.related}}')[0].getBoundingClientRect().y" stepKey="relatedYPosition2"/> |
| 512 | + <executeJS function="return document.querySelectorAll('{{StorefrontProductFullWidth.upsell}}')[0].getBoundingClientRect().y" stepKey="upsellYPosition2"/> |
513 | 513 | <assertGreaterThan stepKey="assertTitleBelowProductImage2">
|
514 | 514 | <expectedResult type="variable">productMediaYPosition2</expectedResult>
|
515 | 515 | <actualResult type="variable">productTitleYPosition2</actualResult>
|
|
0 commit comments