|
65 | 65 | </after> |
66 | 66 | <!-- Step-1: Set catalog price scope to website --> |
67 | 67 | <actionGroup ref="AdminSetCatalogPriceToWebsiteActionGroup" stepKey="setPriceScopeWebsite"/> |
| 68 | + <!-- Step 2: Reindex and cache clear --> |
| 69 | + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> |
| 70 | + <argument name="indices" value=""/> |
| 71 | + </actionGroup> |
| 72 | + <actionGroup ref="CliCacheFlushActionGroup" stepKey="cleanCache"> |
| 73 | + <argument name="tags" value=""/> |
| 74 | + </actionGroup> |
68 | 75 | <!-- Step 3: Open created product and assign to website--> |
69 | 76 | <actionGroup ref="AdminProductPageOpenByIdActionGroup" stepKey="openProductEdit"> |
70 | 77 | <argument name="productId" value="$createProduct.id$"/> |
|
94 | 101 | <!--Save product--> |
95 | 102 | <actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/> |
96 | 103 | <!--Step6: From admin login as customer to storefront and verify website scope product price is displayed in catalog search results page and product details page --> |
97 | | - <actionGroup ref="AdminLoginAsCustomerLoginFromCustomerPageActionGroup" |
98 | | - stepKey="loginAsCustomerFromCustomerPage"> |
| 104 | + <actionGroup ref="AdminLoginAsCustomerLoginFromCustomerPageActionGroup" stepKey="loginAsCustomerFromCustomerPage"> |
99 | 105 | <argument name="customerId" value="$$createCustomer.id$$"/> |
100 | 106 | </actionGroup> |
101 | 107 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchByProductName"> |
|
109 | 115 | <waitForText userInput="$200.00" selector="{{StorefrontProductInfoMainSection.price}}" stepKey="seeWebsiteScopeProductPrice"/> |
110 | 116 | <!-- Step 7: Set catalog price scope to website --> |
111 | 117 | <actionGroup ref="AdminSetDefaultCatalogPriceActionGroup" stepKey="setScopeGlobal"/> |
| 118 | + <!-- Step 8: Reindex and cache clear --> |
| 119 | + <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexing"> |
| 120 | + <argument name="indices" value=""/> |
| 121 | + </actionGroup> |
| 122 | + <actionGroup ref="CliCacheFlushActionGroup" stepKey="cacheClean"> |
| 123 | + <argument name="tags" value=""/> |
| 124 | + </actionGroup> |
112 | 125 | <!--Step 9: Login as customer to storefront and verify global scope product price is displayed in catalog search results page and product details page --> |
113 | 126 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="searchByProductName"> |
114 | 127 | <argument name="phrase" value="$createProduct.name$"/> |
|
0 commit comments