File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 52
52
<argument name =" customer" value =" $$createCustomer$$" />
53
53
<argument name =" address" value =" US_Address_TX" />
54
54
</actionGroup >
55
- <actionGroup ref =" CheckoutSelectFlatRateShippingMethodActionGroup" stepKey =" selectFlatRateShipping" />
56
- <actionGroup ref =" StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey =" clickNext" />
55
+ <!-- Select shipping -->
56
+ <actionGroup ref =" StorefrontSetShippingMethodActionGroup" stepKey =" selectShippingMethodAsFlatRate" >
57
+ <argument name =" shippingMethodName" value =" Flat Rate" />
58
+ </actionGroup >
59
+ <actionGroup ref =" StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey =" goToCheckoutPaymentPage" />
57
60
<!-- Click on PayPal payment radio button -->
58
61
<waitForElementClickable selector =" {{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey =" waitForPayPalRadioButton" />
59
62
<click selector =" {{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey =" selectPaypalPayment" />
67
70
</actionGroup >
68
71
<waitForElementVisible selector =" {{AdminOrderPaymentInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey =" waitForTransactionIDFieldToBeAppeared" />
69
72
<grabTextFrom selector =" {{AdminOrderPaymentInformationSection.paymentInformationField('Last Transaction ID')}}" stepKey =" grabATransactionID" />
70
- <actionGroup ref =" AdminAssertTotalsOnOrderViewPageActionGroup" stepKey =" checkSubtotal" >
71
- <argument name =" subtotal" value =" $10.00" />
72
- <argument name =" shippingAndHandling" value =" $5.00" />
73
- <argument name =" grandTotal" value =" 15.00" />
74
- </actionGroup >
73
+ <waitForText selector =" {{AdminOrderTotalSection.grandTotal}}" userInput =" $15.00" stepKey =" checkGrandTotal" />
75
74
<actionGroup ref =" AdminOpenOrderCommentsHistoryActionGroup" stepKey =" clickOnCommentsHistory" />
76
75
<waitForText selector =" {{AdminOrderCommentsTabSection.orderComment}}" userInput =" Authorized amount of $15.00. Transaction ID: " {$grabATransactionID}" " stepKey =" seeOrderHistoryNotes" />
77
76
</test >
You can’t perform that action at this time.
0 commit comments