Skip to content

Commit de71187

Browse files
committed
ACQE-8251: Verify wish list count displayed on homepage except wish list page in customer menu.
- Added wait for page load in the test file.
1 parent 540b777 commit de71187

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<!-- Step 4: Click on customer menu-->
4949
<waitForElementClickable selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="waitToOpenCustomerDropdownMenu"/>
5050
<click selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="openCustomerDropdownMenu"/>
51+
<waitForPageLoad stepKey="waitToLoadCustomerDropdownMenu"/>
5152
<!-- Step 4 assertion:The wishlist item count should display-->
5253
<waitForElementVisible selector="{{StorefrontCustomerWishlistProductSection.wishListLink}}" stepKey="wishListLink"/>
5354
<waitForText userInput="1 item" selector="{{StorefrontCustomerWishlistProductSection.wishListCount}}" stepKey="seeWishListCount"/>

0 commit comments

Comments
 (0)