Skip to content

Commit a8c9688

Browse files
committed
MC-29335: Missing paid orders and lock wait timeouts in Guest Checkout
1 parent ea9bcb8 commit a8c9688

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminCancelTheCreatedOrderWithZeroSubtotalCheckoutTest.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<field key="price">10.00</field>
3636
</createData>
3737

38-
<!-- Create a slaes rule with fixed discount -->
38+
<!-- Create a sales rule with fixed discount -->
3939
<createData entity="SalesRuleNoCouponWithFixedDiscount" stepKey="createSalesRule"/>
4040
</before>
4141
<after>
@@ -62,14 +62,18 @@
6262
<actionGroup ref="AdminOrderClickSubmitOrderActionGroup" stepKey="submitOrder" />
6363

6464
<!-- Start the consumer -->
65-
<magentoCLI command="queue:consumers:start sales.rule.update.coupon.usage --max-messages=100" stepKey="startMessageQueue2"/>
65+
<actionGroup ref="CliConsumerStartActionGroup" stepKey="startMessageQueue">
66+
<argument name="consumerName" value="{{SalesRuleConsumerData.consumerName}}"/>
67+
<argument name="maxMessages" value="{{SalesRuleConsumerData.messageLimit}}"/>
68+
</actionGroup>
6669

6770
<!--Verify order information-->
6871
<actionGroup ref="VerifyCreatedOrderInformationActionGroup" stepKey="verifyCreatedOrderInformation"/>
69-
<reloadPage stepKey="refreshPage2"/>
72+
<reloadPage stepKey="refreshPage"/>
7073
<grabTextFrom selector="|Order # (\d+)|" stepKey="orderId"/>
7174

72-
<reloadPage stepKey="refreshPage1"/>
75+
<!-- Refresh the page -->
76+
<reloadPage stepKey="refreshPageAgain"/>
7377

7478
<!-- Cancel the Order -->
7579
<actionGroup ref="CancelPendingOrderActionGroup" stepKey="cancelPendingOrder"/>

0 commit comments

Comments
 (0)