File tree Expand file tree Collapse file tree 2 files changed +3
-26
lines changed
app/code/Magento/GroupedProduct/Test/Mftf Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 42
42
<argument name =" attributes" value =" UpdateAttributeQtyAndStockToOutOfStock" />
43
43
<argument name =" product" value =" $$createFirstSimpleProduct$$" />
44
44
</actionGroup >
45
- <!-- 2.Run cron for start consumer -->
46
- <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startMessageQueue" >
47
- <argument name =" consumerName" value =" {{AdminInventoryMassUpdateConsumerData.consumerName}}" />
48
- <argument name =" maxMessages" value =" {{AdminInventoryMassUpdateConsumerData.messageLimit}}" />
49
- </actionGroup >
45
+ <!-- 2.Run cron for updating stock status of parent product-->
46
+ <magentoCron groups =" index" stepKey =" runCronIndex" />
50
47
<!-- 3.Check stock status of grouped product. Stock status should be "Out of Stock"-->
51
48
<actionGroup ref =" AssertAdminProductStockStatusActionGroup" stepKey =" checkProductOutOfStock" >
52
49
<argument name =" productId" value =" $$createGroupedProduct.id$$" />
57
54
<argument name =" attributes" value =" UpdateAttributeQtyAndStockToInStock" />
58
55
<argument name =" product" value =" $$createFirstSimpleProduct$$" />
59
56
</actionGroup >
60
- <!-- 5.Run cron for start consumer -->
61
- <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startMessageQueueSecond" >
62
- <argument name =" consumerName" value =" {{AdminInventoryMassUpdateConsumerData.consumerName}}" />
63
- <argument name =" maxMessages" value =" {{AdminInventoryMassUpdateConsumerData.messageLimit}}" />
64
- </actionGroup >
65
- <!-- 6.Check stock status of grouped product. Stock status should be "In Stock"-->
57
+ <!-- 5.Check stock status of grouped product. Stock status should be "In Stock"-->
66
58
<actionGroup ref =" AssertAdminProductStockStatusActionGroup" stepKey =" checkProductInStock" >
67
59
<argument name =" productId" value =" $$createGroupedProduct.id$$" />
68
60
<argument name =" stockStatus" value =" In Stock" />
You can’t perform that action at this time.
0 commit comments