Skip to content

Commit 40155f6

Browse files
committed
Add <magentoCron instruction
1 parent a66a2d5 commit 40155f6

32 files changed

+34
-4
lines changed

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiDynamicBundleProductActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@
6161
<requiredEntity createDataKey="createBundleOption1_2"/>
6262
<requiredEntity createDataKey="simpleProduct4"/>
6363
</createData>
64+
65+
<magentoCron stepKey="runCronIndex" groups="index"/>
6466
</actionGroup>
6567
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiDynamicBundleProductAllOptionTypesActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
<requiredEntity createDataKey="createBundleRadioButtonsOption"/>
7171
<requiredEntity createDataKey="simpleProduct2"/>
7272
</createData>
73+
<magentoCron stepKey="runCronIndex" groups="index"/>
7374
</actionGroup>
7475
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminCreateApiFixedBundleProductActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@
6161
<requiredEntity createDataKey="createBundleOption1_2"/>
6262
<requiredEntity createDataKey="simpleProduct4"/>
6363
</createData>
64+
<magentoCron stepKey="runCronIndex" groups="index"/>
6465
</actionGroup>
6566
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddBundleItemsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
2727
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
28+
<magentoCron stepKey="runCronIndex" groups="index"/>
2829
<!--Admin login-->
2930
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
3031
</before>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddBundleProductToCartFromWishListPageTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<requiredEntity createDataKey="bundleOption"/>
5151
<requiredEntity createDataKey="createSimpleProduct2"/>
5252
</createData>
53+
<magentoCron stepKey="runCronIndex" groups="index"/>
5354
<amOnPage url="{{AdminProductEditPage.url($$createProduct.id$$)}}" stepKey="goToProductEditPage"/>
5455
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
5556
</before>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddDefaultImageBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddDefaultVideoBundleProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<before>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2626
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
27+
<magentoCron stepKey="runCronIndex" groups="index"/>
2728
</before>
2829
<after>
2930
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminCreateAndEditBundleProductSettingsTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@
164164
<!-- Create second simple product for a bundle option -->
165165
<createData entity="SimpleProduct2" stepKey="createSecondSimpleProduct"/>
166166

167+
<magentoCron stepKey="runCronIndex" groups="index"/>
168+
167169
<!-- Login as admin -->
168170
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
169171
</before>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteABundleProduct.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
<magentoCron stepKey="runCronIndex" groups="index"/>
2526
</before>
2627
<after>
2728
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>

app/code/Magento/Bundle/Test/Mftf/Test/AdminDeleteBundleDynamicProductTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<createData entity="ApiBundleProductPriceViewRange" stepKey="createDynamicBundleProduct">
2727
<requiredEntity createDataKey="createCategory"/>
2828
</createData>
29+
<magentoCron stepKey="runCronIndex" groups="index"/>
2930
</before>
3031
<after>
3132
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

0 commit comments

Comments
 (0)