File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
app/code/Magento/Sales/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 35
35
<field key =" price" >10.00</field >
36
36
</createData >
37
37
38
- <!-- Create a slaes rule with fixed discount -->
38
+ <!-- Create a sales rule with fixed discount -->
39
39
<createData entity =" SalesRuleNoCouponWithFixedDiscount" stepKey =" createSalesRule" />
40
40
</before >
41
41
<after >
62
62
<actionGroup ref =" AdminOrderClickSubmitOrderActionGroup" stepKey =" submitOrder" />
63
63
64
64
<!-- 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 >
66
69
67
70
<!-- Verify order information-->
68
71
<actionGroup ref =" VerifyCreatedOrderInformationActionGroup" stepKey =" verifyCreatedOrderInformation" />
69
- <reloadPage stepKey =" refreshPage2 " />
72
+ <reloadPage stepKey =" refreshPage " />
70
73
<grabTextFrom selector =" |Order # (\d+)|" stepKey =" orderId" />
71
74
72
- <reloadPage stepKey =" refreshPage1" />
75
+ <!-- Refresh the page -->
76
+ <reloadPage stepKey =" refreshPageAgain" />
73
77
74
78
<!-- Cancel the Order -->
75
79
<actionGroup ref =" CancelPendingOrderActionGroup" stepKey =" cancelPendingOrder" />
You can’t perform that action at this time.
0 commit comments