File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1818 </arguments >
1919 <waitForElementNotVisible selector =" {{StorefrontProductActionSection.addToCartDisabled}}" stepKey =" waitForAddToCartButtonToRemoveDisabledState" />
2020 <waitForElementClickable selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" waitForAddToCartButton" />
21+ <!-- Scroll to button to prevent overlapping elements from intercepting click -->
22+ <scrollTo selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" scrollToAddToCartButton" />
2123 <click selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" addToCart" />
2224 <waitForPageLoad stepKey =" waitForAddToCart" />
2325 <waitForElementNotVisible selector =" {{StorefrontProductActionSection.addToCartButtonTitleIsAdding}}" stepKey =" waitForElementNotVisibleAddToCartButtonTitleIsAdding" />
You can’t perform that action at this time.
0 commit comments