Skip to content

Commit e665133

Browse files
ACQE-8028: [MFTF TESTS] StorefrontButtonsInlineTranslationOnProductPageTest
- Moved waitForElementClickable after scrollTo action
1 parent 25492ad commit e665133

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
@@ -17,9 +17,9 @@
1717
<argument name="productName"/>
1818
</arguments>
1919
<waitForElementNotVisible selector="{{StorefrontProductActionSection.addToCartDisabled}}" stepKey="waitForAddToCartButtonToRemoveDisabledState"/>
20-
<waitForElementClickable selector="{{StorefrontProductActionSection.addToCart}}" stepKey="waitForAddToCartButton"/>
2120
<!-- Scroll to button to prevent overlapping elements from intercepting click -->
2221
<scrollTo selector="{{StorefrontProductActionSection.addToCart}}" stepKey="scrollToAddToCartButton"/>
22+
<waitForElementClickable selector="{{StorefrontProductActionSection.addToCart}}" stepKey="waitForAddToCartButton"/>
2323
<click selector="{{StorefrontProductActionSection.addToCart}}" stepKey="addToCart"/>
2424
<waitForPageLoad stepKey="waitForAddToCart"/>
2525
<waitForElementNotVisible selector="{{StorefrontProductActionSection.addToCartButtonTitleIsAdding}}" stepKey="waitForElementNotVisibleAddToCartButtonTitleIsAdding"/>

0 commit comments

Comments
 (0)