File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Wishlist/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 76
76
<!-- Add product visible on default store to wishlist -->
77
77
<amOnPage url =" $$product.name$$.html" stepKey =" navigateToProductPageOnDefaultStore" />
78
78
<see selector =" {{StorefrontProductInfoMainSection.productName}}" userInput =" $$product.name$$" stepKey =" assertFirstProductNameTitle" />
79
+ <click stepKey =" addFirstProductToWishlist" selector =" {{StorefrontProductPageSection.addToWishlist}}" />
79
80
<!-- Switch to second store and add second product (visible on second store) to wishlist -->
80
81
<click stepKey =" ClickSwitchStoreButtonOnDefaultStore" selector =" {{StorefrontFooterSection.SwitchStoreButton}}" />
81
82
<click stepKey =" SelectSecondStoreToSwitchOn" selector =" {{StorefrontFooterSection.StoreLink($$storeGroup.group[name]$$)}}" />
82
83
<!-- Verify that both products are visible in wishlist on both stores -->
83
84
<amOnPage url =" $$secondProduct.name$$.html" stepKey =" navigateToProductPageOnSecondStore" />
84
85
<see selector =" {{StorefrontProductInfoMainSection.productName}}" userInput =" $$secondProduct.name$$" stepKey =" assertSecondProductNameTitle" />
85
- <click stepKey =" addSecondProductToWishlist" selector =" {{StorefrontProductPageSection.AddToWishlist}}" />
86
- <see stepKey =" seeProduct1InWishlistOnSecondStore" userInput =" $$product.name$$" selector =" {{StorefrontCustomerWishlistSection.productItemNameText}}" />
86
+ <click stepKey =" addSecondProductToWishlist" selector =" {{StorefrontProductPageSection.addToWishlist}}" />
87
87
<see stepKey =" seeProduct2InWishlistOnSecondStore" userInput =" $$secondProduct.name$$" selector =" {{StorefrontCustomerWishlistSection.productItemNameText}}" />
88
88
<click stepKey =" ClickSwitchStoreButtonOnSecondStore" selector =" {{StorefrontFooterSection.SwitchStoreButton}}" />
89
89
<click stepKey =" SelectDefaultStoreToSwitchOn" selector =" {{StorefrontFooterSection.StoreLink('Main Website Store')}}" />
You can’t perform that action at this time.
0 commit comments