File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/SalesRule/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 101
101
<actionGroup ref =" CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey =" selectCheckMoneyPayment" />
102
102
<click selector =" {{CheckoutPaymentSection.placeOrder}}" stepKey =" clickPlaceOrder" />
103
103
<waitForElement selector =" {{CheckoutSuccessMainSection.success}}" time =" 30" stepKey =" waitForLoadSuccessPage" />
104
- <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startUsageProcessingMessageQueue" >
105
- <argument name =" consumerName" value =" {{SalesRuleConsumerData.consumerName}}" />
106
- <argument name =" maxMessages" value =" {{SalesRuleConsumerData.messageLimit}}" />
107
- </actionGroup >
108
- <reloadPage stepKey =" refreshPage1" />
109
104
110
105
<!-- Step: 9-10. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
111
106
<amOnPage url =" {{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey =" openProductPage1" />
151
146
<!-- Step; 15-16. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
152
147
<amOnPage url =" {{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey =" openProductPage3" />
153
148
<waitForPageLoad stepKey =" waitForPageLoad5" />
149
+ <!-- Start the usage processing consumer -->
150
+ <actionGroup ref =" CliConsumerStartActionGroup" stepKey =" startUsageProcessingMessageQueue" >
151
+ <argument name =" consumerName" value =" {{SalesRuleConsumerData.consumerName}}" />
152
+ <argument name =" maxMessages" value =" {{SalesRuleConsumerData.messageLimit}}" />
153
+ </actionGroup >
154
154
<actionGroup ref =" ApplyCartRuleOnStorefrontActionGroup" stepKey =" applyCartPriceRule3" >
155
155
<argument name =" product" value =" $$createSimpleProduct$$" />
156
156
<argument name =" couponCode" value =" {$couponCode}" />
You can’t perform that action at this time.
0 commit comments