Skip to content

Commit cdc8386

Browse files
author
Oleksandr Iegorov
committed
MC-29335: Missing paid orders and lock wait timeouts in Guest Checkout
1 parent 9474fa2 commit cdc8386

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<see selector="{{AdminCartPriceRulesFormSection.successMessage}}" userInput="Message is added to queue, wait to get your coupons soon"
5959
stepKey="seeSuccessMessage"/>
6060

61-
<!-- Start message queue for export consumer and coupon processing -->
61+
<!-- Start message queue for export consumer -->
6262
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startMessageQueue">
6363
<argument name="consumerName" value="{{AdminCodeGeneratorMessageConsumerData.consumerName}}"/>
6464
<argument name="maxMessages" value="{{AdminCodeGeneratorMessageConsumerData.messageLimit}}"/>
@@ -143,14 +143,15 @@
143143
<click selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="clickPlaceOrder1"/>
144144
<waitForElement selector="{{CheckoutSuccessMainSection.success}}" time="30" stepKey="waitForLoadSuccessPage1"/>
145145

146-
<!-- Step; 15-16. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
147-
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey="openProductPage3"/>
148-
<waitForPageLoad stepKey="waitForPageLoad5"/>
149146
<!-- Start the usage processing consumer -->
150147
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startUsageProcessingMessageQueue">
151148
<argument name="consumerName" value="{{SalesRuleConsumerData.consumerName}}"/>
152149
<argument name="maxMessages" value="{{SalesRuleConsumerData.messageLimit}}"/>
153150
</actionGroup>
151+
152+
<!-- Step; 15-16. Open the Product Page, add the product to Cart, go to Shopping Cart and Apply the same coupon code -->
153+
<amOnPage url="{{StorefrontProductPage.url($$createSimpleProduct.name$$)}}" stepKey="openProductPage3"/>
154+
<waitForPageLoad stepKey="waitForPageLoad5"/>
154155
<actionGroup ref="ApplyCartRuleOnStorefrontActionGroup" stepKey="applyCartPriceRule3">
155156
<argument name="product" value="$$createSimpleProduct$$"/>
156157
<argument name="couponCode" value="{$couponCode}"/>

0 commit comments

Comments
 (0)