Skip to content

Commit c8b5ea2

Browse files
ACQE-5709 : Updated comments for better readability
1 parent d671a3f commit c8b5ea2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontPaypalExpressCheckoutWithDiscountCoupon.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
<actionGroup ref="StorefrontOpenCheckoutPageActionGroup" stepKey="goToCheckout"/>
6565
<actionGroup ref="CheckoutSelectFlatRateShippingMethodActionGroup" stepKey="selectFlatRateShipping" />
6666
<actionGroup ref="StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey="clickNext"/>
67-
67+
<!-- Assert order total before applying coupon -->
6868
<actionGroup ref="AssertStorefrontCheckoutPaymentSummaryTotalActionGroup" stepKey="assertSummaryTotalBeforeCoupon">
6969
<argument name="orderTotal" value="$128.00"/>
7070
</actionGroup>
71-
<!-- Apply Discount Coupon to the Order -->
71+
<!-- Apply Discount Coupon to the Order and assert order total -->
7272
<actionGroup ref="StorefrontApplyDiscountCodeActionGroup" stepKey="applyDiscountCoupon">
7373
<argument name="discountCode" value="{{_defaultCoupon.code}}"/>
7474
</actionGroup>
@@ -78,16 +78,10 @@
7878
<!-- Click on PayPal payment radio button -->
7979
<waitForElementClickable selector="{{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey="waitForPayPalRadioButton"/>
8080
<click selector="{{CheckoutPaymentSection.PayPalPaymentRadio}}" stepKey="selectPaypalPayment"/>
81-
82-
<!-- Click Paypal button -->
8381
<actionGroup ref="SwitchToPayPalGroupBtnActionGroup" stepKey="clickPayPalBtn"/>
84-
85-
<!-- Login to Paypal in-context -->
82+
<!-- Login to Paypal in-context and verify order total on paypal page-->
8683
<actionGroup ref="StorefrontLoginToPayPalPaymentAccountTwoStepActionGroup" stepKey="loginToPayPal"/>
87-
<!-- Transfer Cart Line and Shipping Method assertion -->
88-
<actionGroup ref="PayPalAssertTransferLineAndShippingMethodNotExistActionGroup" stepKey="assertPayPalPage"/>
8984
<waitForText selector="{{PayPalPaymentSection.orderTotalOnPaypalCheckout}}" userInput="$103.40" stepKey="verifyOrderTotalOnPaypalPage"/>
90-
9185
<!-- Click PayPal button and go back to Magento site -->
9286
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="confirmPaymentAndGoBackToMagento"/>
9387
<!-- I see order successful Page -->

0 commit comments

Comments
 (0)