|
29 | 29 | <actionGroup ref="CreateStoreViewActionGroup" stepKey="createCustomStoreViewFr">
|
30 | 30 | <argument name="storeView" value="customStoreFR"/>
|
31 | 31 | </actionGroup>
|
32 |
| - <!--Run full reindex and clear caches --> |
33 |
| - <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
34 |
| - <magentoCLI command="cache:flush" stepKey="flushCache"/> |
35 | 32 | <!--Enable Flat Catalog Category -->
|
36 | 33 | <magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 1"/>
|
37 | 34 | <!--Open Index Management Page and Select Index mode "Update by Schedule" -->
|
38 | 35 | <magentoCLI stepKey="setIndexerMode" command="indexer:set-mode" arguments="schedule" />
|
39 |
| - <!-- Run cron twice --> |
40 |
| - <magentoCLI command="cron:run" stepKey="runCron1"/> |
41 |
| - <magentoCLI command="cron:run" stepKey="runCron2"/> |
| 36 | + <!-- Reindex invalidated indices and clear caches --> |
| 37 | + <magentoCron groups="index" stepKey="reindexInvalidatedIndices"/> |
| 38 | + <magentoCLI command="cache:flush" stepKey="flushCache"/> |
42 | 39 | </before>
|
43 | 40 | <after>
|
44 |
| - <magentoCLI stepKey="setFlatCatalogCategory" command="config:set catalog/frontend/flat_catalog_category 0 "/> |
45 |
| - <magentoCLI stepKey="setIndexersMode" command="indexer:set-mode" arguments="realtime" /> |
46 |
| - <magentoCLI stepKey="indexerReindex" command="indexer:reindex" /> |
47 | 41 | <deleteData stepKey="deleteCategory" createDataKey="createCategory"/>
|
48 | 42 | <actionGroup ref="AdminDeleteStoreViewActionGroup" stepKey="deleteStoreViewEn">
|
49 | 43 | <argument name="customStore" value="customStoreEN"/>
|
|
52 | 46 | <argument name="customStore" value="customStoreFR"/>
|
53 | 47 | </actionGroup>
|
54 | 48 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
| 49 | + <magentoCLI command="config:set catalog/frontend/flat_catalog_category 0 " stepKey="setFlatCatalogCategory"/> |
| 50 | + <magentoCLI command="indexer:set-mode" arguments="realtime" stepKey="setIndexersMode"/> |
| 51 | + <magentoCron groups="index" stepKey="reindexInvalidatedIndicesAgain"/> |
55 | 52 | </after>
|
56 | 53 | <!--Verify Category is not listed in navigation menu-->
|
57 | 54 | <amOnPage url="/{{CatNotIncludeInMenu.name_lwr}}.html" stepKey="openCategoryPage"/>
|
|
0 commit comments