File tree Expand file tree Collapse file tree 5 files changed +10
-15
lines changed
CatalogRule/Test/Mftf/Test Expand file tree Collapse file tree 5 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 37
37
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 1" />
38
38
<!-- Open Index Management Page and Select Index mode "Update by Schedule" -->
39
39
<magentoCLI stepKey =" setIndexerMode" command =" indexer:set-mode" arguments =" schedule" />
40
- <!-- Run cron twice -->
41
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron1" />
42
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron2" />
40
+ <!-- Run cron -->
41
+ <magentoCron stepKey =" runIndexCronJobs" groups =" index" />
43
42
</before >
44
43
<after >
45
44
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
Original file line number Diff line number Diff line change 37
37
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 1" />
38
38
<!-- Open Index Management Page and Select Index mode "Update by Schedule" -->
39
39
<magentoCLI stepKey =" setIndexerMode" command =" indexer:set-mode" arguments =" schedule" />
40
- <!-- Run cron twice -->
41
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron1" />
42
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron2" />
40
+ <!-- Run cron -->
41
+ <magentoCron stepKey =" runIndexCronJobs" groups =" index" />
43
42
</before >
44
43
<after >
45
44
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
Original file line number Diff line number Diff line change 37
37
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 1" />
38
38
<!-- Open Index Management Page and Select Index mode "Update by Schedule" -->
39
39
<magentoCLI stepKey =" setIndexerMode" command =" indexer:set-mode" arguments =" schedule" />
40
- <!-- Run cron twice -->
41
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron1" />
42
- <magentoCLI command =" cron:run" arguments =" --group=index" stepKey =" runCron2" />
40
+ <!-- Run cron -->
41
+ <magentoCron stepKey =" runIndexCronJobs" groups =" index" />
43
42
</before >
44
43
<after >
45
44
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
Original file line number Diff line number Diff line change 38
38
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 1" />
39
39
<!-- Open Index Management Page and Select Index mode "Update by Schedule" -->
40
40
<magentoCLI stepKey =" setIndexerMode" command =" indexer:set-mode" arguments =" schedule" />
41
- <!-- Run cron twice -->
42
- <magentoCLI command =" cron:run" stepKey =" runCron1" />
43
- <magentoCLI command =" cron:run" stepKey =" runCron2" />
41
+ <!-- Run cron -->
42
+ <magentoCron stepKey =" runAllCronJobs" />
44
43
</before >
45
44
<after >
46
45
<magentoCLI stepKey =" setFlatCatalogCategory" command =" config:set catalog/frontend/flat_catalog_category 0 " />
Original file line number Diff line number Diff line change 232
232
<see userInput =" You saved the rule." selector =" {{ContentManagementSection.StoreConfigurationPageSuccessMessage}}" stepKey =" seeMessage" />
233
233
<see userInput =" Updated rules applied." selector =" {{ContentManagementSection.StoreConfigurationPageSuccessMessage}}" stepKey =" seeSuccessMessage" />
234
234
235
- <!-- Run cron twice -->
236
- <magentoCLI command =" cron:run" stepKey =" runCron1" />
237
- <magentoCLI command =" cron:run" stepKey =" runCron2" />
235
+ <!-- Run cron -->
236
+ <magentoCron stepKey =" runAllCronJobs" />
238
237
<magentoCLI command =" cache:flush" stepKey =" flushCache" />
239
238
240
239
<!-- Go to Frontend and open the simple product -->
You can’t perform that action at this time.
0 commit comments