File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Wishlist/Test/Mftf Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6161 <data key =" path" >rss/wishlist/active</data >
6262 <data key =" value" >1</data >
6363 </entity >
64- <entity name =" NumberOfItems " >
64+ <entity name =" NumberOfItemsInWishlist " >
6565 <data key =" item" >2 items</data >
6666 </entity >
6767</entities >
Original file line number Diff line number Diff line change 4141 <argument name =" productUrl" value =" $$createProduct.custom_attributes[url_key]$$" />
4242 </actionGroup >
4343 <!-- Step 2: Add product to wishlist -->
44- <actionGroup ref =" StorefrontCustomerAddProductToWishlistActionGroup" stepKey =" addToWishlistProduct " >
44+ <actionGroup ref =" StorefrontCustomerAddProductToWishlistActionGroup" stepKey =" addFirstProductToWishlist " >
4545 <argument name =" productVar" value =" $createProduct$" />
4646 </actionGroup >
4747 <!-- Open second product page -->
4848 <actionGroup ref =" StorefrontOpenProductPageActionGroup" stepKey =" openTheProductPage" >
4949 <argument name =" productUrl" value =" $$createSimpleProduct.custom_attributes[url_key]$$" />
5050 </actionGroup >
5151 <!-- Step 2: Add second product to wishlist -->
52- <actionGroup ref =" StorefrontCustomerAddProductToWishlistActionGroup" stepKey =" addToTheWishlistProduct " >
52+ <actionGroup ref =" StorefrontCustomerAddProductToWishlistActionGroup" stepKey =" addSecondProductToWishlist " >
5353 <argument name =" productVar" value =" $createSimpleProduct$" />
5454 </actionGroup >
5555 <!-- Step 3: Navigate to Store front home page-->
6060 <waitForPageLoad stepKey =" waitToLoadCustomerDropdownMenu" />
6161 <!-- Step 4 assertion: The wishlist item count should display-->
6262 <waitForElementVisible selector =" {{StorefrontCustomerWishlistProductSection.wishListLink}}" stepKey =" wishListLink" />
63- <waitForText userInput =" {{NumberOfItems .item}}" selector =" {{StorefrontCustomerWishlistProductSection.wishListCount}}" stepKey =" seeWishListCount" />
63+ <waitForText userInput =" {{NumberOfItemsInWishlist .item}}" selector =" {{StorefrontCustomerWishlistProductSection.wishListCount}}" stepKey =" seeWishListCount" />
6464 </test >
6565</tests >
You can’t perform that action at this time.
0 commit comments