Skip to content

Commit c6b97a0

Browse files
author
Oleksandr Iegorov
committed
MC-29335: Missing paid orders and lock wait timeouts in Guest Checkout
1 parent 4f4067b commit c6b97a0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@
102102
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder"/>
103103
<waitForElement selector="{{CheckoutSuccessMainSection.success}}" time="30" stepKey="waitForLoadSuccessPage"/>
104104

105+
<!-- Start the usage processing consumer -->
106+
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startUsageProcessingMessageQueue1">
107+
<argument name="consumerName" value="{{SalesRuleConsumerData.consumerName}}"/>
108+
<argument name="maxMessages" value="{{SalesRuleConsumerData.messageLimit}}"/>
109+
</actionGroup>
110+
105111
<!-- Step: 9-10. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
106112
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey="openProductPage1"/>
107113
<waitForPageLoad stepKey="waitForPageLoad3"/>
@@ -143,7 +149,7 @@
143149
<waitForElement selector="{{CheckoutSuccessMainSection.success}}" time="30" stepKey="waitForLoadSuccessPage1"/>
144150

145151
<!-- Start the usage processing consumer -->
146-
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startUsageProcessingMessageQueue">
152+
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startUsageProcessingMessageQueue2">
147153
<argument name="consumerName" value="{{SalesRuleConsumerData.consumerName}}"/>
148154
<argument name="maxMessages" value="{{SalesRuleConsumerData.messageLimit}}"/>
149155
</actionGroup>

0 commit comments

Comments
 (0)