Skip to content

Commit

Permalink
Add <magentoCron instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Mar 18, 2020
1 parent a66a2d5 commit 40155f6
Show file tree
Hide file tree
Showing 32 changed files with 34 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@
<requiredEntity createDataKey="createBundleOption1_2"/>
<requiredEntity createDataKey="simpleProduct4"/>
</createData>

<magentoCron stepKey="runCronIndex" groups="index"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
<requiredEntity createDataKey="createBundleRadioButtonsOption"/>
<requiredEntity createDataKey="simpleProduct2"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
<requiredEntity createDataKey="createBundleOption1_2"/>
<requiredEntity createDataKey="simpleProduct4"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
<!--Admin login-->
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
</before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<requiredEntity createDataKey="bundleOption"/>
<requiredEntity createDataKey="createSimpleProduct2"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
<amOnPage url="{{AdminProductEditPage.url($$createProduct.id$$)}}" stepKey="goToProductEditPage"/>
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
</before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<before>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@
<!-- Create second simple product for a bundle option -->
<createData entity="SimpleProduct2" stepKey="createSecondSimpleProduct"/>

<magentoCron stepKey="runCronIndex" groups="index"/>

<!-- Login as admin -->
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
</before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<createData entity="ApiBundleProductPriceViewRange" stepKey="createDynamicBundleProduct">
<requiredEntity createDataKey="createCategory"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<createData entity="FixedBundleProduct" stepKey="createFixedBundleProduct">
<requiredEntity createDataKey="createCategory"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct0"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!-- Delete the bundled product -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!--Clear Filters-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>

<magentoCron stepKey="runCronIndex" groups="index"/>
<!-- Admin Login-->
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
</before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!-- Delete the bundled product we created in the test body -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<before>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<requiredEntity createDataKey="createBundleOption"/>
<requiredEntity createDataKey="createSimpleProduct"/>
</createData>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!-- Delete Simple Product -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>

<magentoCron stepKey="runCronIndex" groups="index"/>
<!--Admin login-->
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
</before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<before>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
</before>
<after>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!-- Delete the bundled product -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>

<!--Admin login-->
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!--Clear Filters-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<before>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>

<after>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct8"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct9"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct10"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<deleteData createDataKey="simpleProduct1" stepKey="deleteSimpleProduct1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="login"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="logout"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>

<magentoCron stepKey="runCronIndex" groups="index"/>
<!-- Admin Login-->
<actionGroup stepKey="loginToAdminPanel" ref="LoginAsAdmin"/>
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct3"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct4"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!--Logging out-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>

<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<!-- Delete the bundled product -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
<createData entity="_defaultCategory" stepKey="createCategory"/>
<magentoCron stepKey="runCronIndex" groups="index"/>
</before>
<after>
<amOnPage url="{{AdminLogoutPage.url}}" stepKey="amOnLogoutPage"/>
Expand Down

0 comments on commit 40155f6

Please sign in to comment.