Skip to content

Commit c10864f

Browse files
Merge branch 'ACQE-8579' into ACQE-functional-deployment-version15
2 parents 61c422c + d449e11 commit c10864f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AddToCartFromStorefrontProductPageActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</arguments>
1919
<waitForElementNotVisible selector="{{StorefrontProductActionSection.addToCartDisabled}}" stepKey="waitForAddToCartButtonToRemoveDisabledState"/>
2020
<!-- Scroll to button to prevent overlapping elements from intercepting click -->
21-
<scrollTo selector="{{StorefrontProductActionSection.addToCart}}" stepKey="scrollToAddToCartButton"/>
21+
<scrollToTopOfPage stepKey="scrollToAddToCartButton"/>
2222
<waitForElementClickable selector="{{StorefrontProductActionSection.addToCart}}" stepKey="waitForAddToCartButton"/>
2323
<click selector="{{StorefrontProductActionSection.addToCart}}" stepKey="addToCart"/>
2424
<waitForPageLoad stepKey="waitForAddToCart"/>

0 commit comments

Comments
 (0)