Skip to content

Commit aa53fa6

Browse files
author
Oleksandr Iegorov
committed
MC-29335: Missing paid orders and lock wait timeouts in Guest Checkout
1 parent 2ed8a46 commit aa53fa6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@
101101
<actionGroup ref="CheckoutSelectCheckMoneyOrderPaymentActionGroup" stepKey="selectCheckMoneyPayment"/>
102102
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder"/>
103103
<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"/>
109104

110105
<!-- Step: 9-10. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
111106
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey="openProductPage1"/>
@@ -151,6 +146,11 @@
151146
<!-- Step; 15-16. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
152147
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey="openProductPage3"/>
153148
<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>
154154
<actionGroup ref="ApplyCartRuleOnStorefrontActionGroup" stepKey="applyCartPriceRule3">
155155
<argument name="product" value="$$createSimpleProduct$$"/>
156156
<argument name="couponCode" value="{$couponCode}"/>

0 commit comments

Comments
 (0)