Skip to content

Commit fa759e7

Browse files
Kieu PhanKieu Phan
authored andcommitted
AC-10957: Stabilize MFTF test
Fixed StorefrontAddMultipleStoreProductsToWishlistTest
1 parent 4dda8e5 commit fa759e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Wishlist/Test/Mftf/Test/StorefrontAddMultipleStoreProductsToWishlistTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@
118118
</actionGroup>
119119
<click selector="{{StorefrontProductPageSection.addToWishlist}}" stepKey="addSecondProductToWishlist"/>
120120
<waitForPageLoad stepKey="waitForPageLoad2"/>
121-
<waitForElementVisible stepKey="waitForProduct2InWishlist" selector="{{StorefrontCustomerWishlistSection.productItemNameText}}" />
122-
<see userInput="$$secondProduct.name$$" selector="{{StorefrontCustomerWishlistSection.productItemNameText}}" stepKey="seeProduct2InWishlistOnSecondStore"/>
121+
<waitForText userInput="$$secondProduct.name$$" selector="{{StorefrontCustomerWishlistSection.productItemNameText}}" stepKey="seeProduct2InWishlistOnSecondStore"/>
123122
<click selector="{{StorefrontFooterSection.switchStoreButton}}" stepKey="clickSwitchStoreButtonOnSecondStore"/>
124123
<click selector="{{StorefrontFooterSection.storeLink('Main Website Store')}}" stepKey="selectDefaultStoreToSwitchOn"/>
125124
<waitForPageLoad stepKey="waitForPageLoad3"/>

0 commit comments

Comments
 (0)