Skip to content

Commit 1bfb543

Browse files
committed
ACQE-8251: Verify wish list count displayed on homepage except wish list page in customer menu.
- Added reindex, cache in the test file.
1 parent de71187 commit 1bfb543

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
<waitForElementClickable selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="waitToOpenCustomerDropdownMenu"/>
5050
<click selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="openCustomerDropdownMenu"/>
5151
<waitForPageLoad stepKey="waitToLoadCustomerDropdownMenu"/>
52+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
53+
<argument name="indices" value=""/>
54+
</actionGroup>
55+
<actionGroup ref="CliCacheFlushActionGroup" stepKey="cleanCache">
56+
<argument name="tags" value=""/>
57+
</actionGroup>
5258
<!-- Step 4 assertion:The wishlist item count should display-->
5359
<waitForElementVisible selector="{{StorefrontCustomerWishlistProductSection.wishListLink}}" stepKey="wishListLink"/>
5460
<waitForText userInput="1 item" selector="{{StorefrontCustomerWishlistProductSection.wishListCount}}" stepKey="seeWishListCount"/>

0 commit comments

Comments
 (0)