Skip to content

Commit 82072ac

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

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@
4242
<actionGroup ref="StorefrontCustomerAddProductToWishlistActionGroup" stepKey="addToWishlistProduct">
4343
<argument name="productVar" value="$createProduct$"/>
4444
</actionGroup>
45+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
46+
<argument name="indices" value=""/>
47+
</actionGroup>
48+
<actionGroup ref="CliCacheFlushActionGroup" stepKey="cleanCache">
49+
<argument name="tags" value=""/>
50+
</actionGroup>
4551
<!-- Step 3: Navigate to Store front home page-->
4652
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/>
4753
<waitForPageLoad stepKey="waitToLoadHomePage"/>
4854
<!-- Step 4: Click on customer menu-->
4955
<waitForElementClickable selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="waitToOpenCustomerDropdownMenu"/>
5056
<click selector="{{LoggedInCustomerHeaderLinksSection.customerDropdownMenu}}" stepKey="openCustomerDropdownMenu"/>
5157
<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>
5858
<!-- Step 4 assertion:The wishlist item count should display-->
5959
<waitForElementVisible selector="{{StorefrontCustomerWishlistProductSection.wishListLink}}" stepKey="wishListLink"/>
6060
<waitForText userInput="1 item" selector="{{StorefrontCustomerWishlistProductSection.wishListCount}}" stepKey="seeWishListCount"/>

0 commit comments

Comments
 (0)