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 18
18
</arguments >
19
19
<waitForElementNotVisible selector =" {{StorefrontProductActionSection.addToCartDisabled}}" stepKey =" waitForAddToCartButtonToRemoveDisabledState" />
20
20
<waitForElementClickable selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" waitForAddToCartButton" />
21
+ <!-- Scroll to button to prevent overlapping elements from intercepting click -->
22
+ <scrollTo selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" scrollToAddToCartButton" />
21
23
<click selector =" {{StorefrontProductActionSection.addToCart}}" stepKey =" addToCart" />
22
24
<waitForPageLoad stepKey =" waitForAddToCart" />
23
25
<waitForElementNotVisible selector =" {{StorefrontProductActionSection.addToCartButtonTitleIsAdding}}" stepKey =" waitForElementNotVisibleAddToCartButtonTitleIsAdding" />
You can’t perform that action at this time.
0 commit comments