Skip to content

Commit b168a82

Browse files
authored
ACQE-6335: [MFTF PR TESTS] StorefrontApplyCouponWithShippingMethodConditionAppliedTest
Add wait before click on add to card button. MFTF test fix.
1 parent 995a05c commit b168a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontAddProductToCartActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<argument name="product"/>
1717
<argument name="productCount" type="string"/>
1818
</arguments>
19-
19+
<waitForElementClickable selector="{{StorefrontProductActionSection.addToCart}}" stepKey="waitForAddToCartButtonToClick"/>
2020
<click selector="{{StorefrontProductInfoMainSection.AddToCart}}" stepKey="clickAddToCart"/>
2121
<waitForPageLoad stepKey="waitForPageLoad"/>
2222
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" stepKey="waitForSuccessMessage"/>

0 commit comments

Comments
 (0)