Skip to content

Commit dab9463

Browse files
committed
Trigger cron execution on index group to show products
1 parent 075f9f4 commit dab9463

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
2323
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
25+
26+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
2527
</before>
2628
<after>
2729
<!-- Delete the bundled product -->

app/code/Magento/Catalog/Test/Mftf/Test/AdminSimpleSetEditRelatedProductsTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
2828
<createData entity="SimpleProduct2" stepKey="simpleProduct5"/>
2929
<createData entity="SimpleProduct2" stepKey="simpleProduct6"/>
30+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
3031
</before>
3132
<after>
3233
<!-- Delete simple product -->

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontOnePageCheckoutDataWhenChangeQtyTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<before>
2222
<!--Create a product-->
2323
<createData entity="SimpleProduct2" stepKey="createProduct"/>
24+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
2425
</before>
2526
<after>
2627
<!--Delete created data-->

app/code/Magento/Downloadable/Test/Mftf/Test/AdminDownloadableSetEditRelatedProductsTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
<argument name="product" value="DownloadableProduct"/>
3535
</actionGroup>
3636

37+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
38+
3739
<!--See related product in storefront-->
3840
<amOnPage url="{{DownloadableProduct.sku}}.html" stepKey="goToStorefront"/>
3941
</test>

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
<argument name="product" value="GroupedProduct"/>
3535
</actionGroup>
3636

37+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
38+
3739
<!--See related product in storefront-->
3840
<amOnPage url="{{GroupedProduct.sku}}.html" stepKey="goToStorefront"/>
3941
</test>

app/code/Magento/Tax/Test/Mftf/Test/StorefrontTaxQuoteCartTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
</actionGroup>
4242

4343
<click stepKey="clickSave" selector="{{AdminStoresMainActionsSection.saveButton}}"/>
44+
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
4445

4546
<!-- Fill out form for a new user with address -->
4647
<actionGroup ref="SignUpNewUserFromStorefrontActionGroup" stepKey="SignUpNewUser">

0 commit comments

Comments
 (0)