File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Wishlist/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 99
99
<moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}}" stepKey =" mouseOverOnProduct" />
100
100
<fillField selector =" {{StorefrontCustomerWishlistProductSection.productDescription(product.name)}}" userInput =" {{description}}" stepKey =" fillDescription" />
101
101
<fillField selector =" {{StorefrontCustomerWishlistProductSection.productQuantity(product.name)}}" userInput =" {{quantity}}" stepKey =" fillQuantity" />
102
- <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver " />
102
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver1 " />
103
103
<click selector =" {{StorefrontCustomerWishlistProductSection.productUpdateWishList}}" stepKey =" clickAddToWishlistButton" />
104
+ <waitForElement selector =" {{StorefrontCustomerWishlistProductSection.productQtyError(product.name)}}" stepKey =" waitForErrorMessage" />
104
105
<scrollToTopOfPage stepKey =" scrollToTop2" />
105
- < moveMouseOver selector = " {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}} " stepKey = " wishlistMoveMouseOverProduct " />
106
+
106
107
<!-- Check error message-->
108
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}}" stepKey =" wishlistMoveMouseOverProduct" />
107
109
<see selector =" {{StorefrontCustomerWishlistProductSection.productQtyError(product.name)}}" userInput =" The maximum you may purchase is {{errorNum}}." stepKey =" checkQtyError" />
110
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver2" />
108
111
</actionGroup >
109
112
</actionGroups >
You can’t perform that action at this time.
0 commit comments