File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 57
57
<see selector =" {{AdminProductMessagesSection.successMessage}}" userInput =" Message is added to queue" stepKey =" seeAttributeUpateSuccessMsg" />
58
58
59
59
<!-- Start message queue -->
60
- <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startMessageQueueConsumer " >
60
+ <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" runCron1 " >
61
61
<argument name =" consumerName" value =" {{AdminProductAttributeUpdateConsumerData.consumerName}}" />
62
62
<argument name =" maxMessages" value =" {{AdminProductAttributeUpdateConsumerData.messageLimit}}" />
63
63
</actionGroup >
64
64
<!-- Run cron -->
65
- <magentoCLI command =" cron:run --group=index" stepKey =" runCron" />
65
+ <magentoCLI command =" cron:run --group=index" stepKey =" runCron2" />
66
+ <reloadPage stepKey =" refreshPage" />
67
+ <waitForPageLoad stepKey =" waitFormToReload1" />
66
68
67
69
<!-- Verify product name, sku and updated price-->
68
70
<click stepKey =" openFirstProduct" selector =" {{AdminProductGridSection.productRowBySku($$simpleProduct1.sku$$)}}" />
Original file line number Diff line number Diff line change 65
65
<see selector =" {{AdminMessagesSection.success}}" userInput =" Message is added to queue" stepKey =" seeAttributeUpdateSuccessMsg" />
66
66
67
67
<!-- Start message queue for product attribute consumer -->
68
- <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startMessageQueue " >
68
+ <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" runCron1 " >
69
69
<argument name =" consumerName" value =" {{AdminProductAttributeUpdateMessageConsumerData.consumerName}}" />
70
70
<argument name =" maxMessages" value =" {{AdminProductAttributeUpdateMessageConsumerData.messageLimit}}" />
71
71
</actionGroup >
72
+ <magentoCLI command =" cron:run --group=index" stepKey =" runCron2" />
73
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindex" >
74
+ <argument name =" indices" value =" " />
75
+ </actionGroup >
72
76
73
77
<!-- Assert on storefront default view -->
74
78
<actionGroup ref =" GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey =" GoToStoreViewAdvancedCatalogSearchActionGroupDefault" />
You can’t perform that action at this time.
0 commit comments