Skip to content

Commit f076334

Browse files
committed
add reindex after apllying price rule
1 parent 24c9200 commit f076334

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartPriceRuleQuantity.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
<fillField selector="{{AdminCartPriceRulesFormSection.discountAmount}}" userInput="1.00" stepKey="fillDiscountAmount"/>
6363
<click selector="{{AdminCartPriceRulesFormSection.save}}" stepKey="clickSaveButton"/>
6464
<see selector="{{AdminCartPriceRulesSection.messages}}" userInput="You saved the rule." stepKey="seeSuccessMessage"/>
65-
65+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="reindexInvalidatedIndices"/>
66+
6667
<!-- Add 1 product to the cart -->
6768
<amOnPage url="$$createPreReqProduct.name$$.html" stepKey="goToProductPage"/>
6869
<waitForPageLoad stepKey="waitForProductPageLoad"/>

0 commit comments

Comments
 (0)