Skip to content

Commit 3696904

Browse files
MC-37718: Grouped product remains In Stock On Mass Update
1 parent f692a93 commit 3696904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/GroupedProduct/Test/Mftf/Test/UpdateStockStatusGroupedProductTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
<argument name="product" value="$$createFirstSimpleProduct$$"/>
4444
</actionGroup>
4545
<!--2.Run cron for updating stock status of parent product-->
46-
<magentoCron stepKey="runAllCronJobs"/>
46+
<magentoCLI command="cron:run" stepKey="runCron"/>
47+
<wait time="60" stepKey="waitForChanges"/>
4748
<!--3.Check stock status of grouped product. Stock status should be "Out of Stock"-->
4849
<actionGroup ref="AssertAdminProductStockStatusActionGroup" stepKey="checkProductOutOfStock">
4950
<argument name="productId" value="$$createGroupedProduct.id$$"/>

0 commit comments

Comments
 (0)