Skip to content

Commit b7f25a8

Browse files
ACQE-6444:Product Price with tax calculation displays on Paypal Pay Later message in Product page
Changes as per code review comments
1 parent df1e798 commit b7f25a8

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

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

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,25 @@
1313
<features value="Paypal"/>
1414
<stories value="Payment methods"/>
1515
<title value="Product Price with tax calculation displays on Paypal Pay Later message in Product page"/>
16-
<description value="Product Price with tax calculation displays on Paypal Pay Later message in Product page"/>
16+
<description value="Product is displayed with Price with tax calculation when Paypal Pay Later option is selected in paypal payment in pay later message "/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="AC-5616"/>
1919
<group value="3rd_party_integration" />
2020
<!-- <group value="pr_exclude" />-->
2121
</annotations>
2222
<before>
23-
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
24-
<createData entity="_defaultCategory" stepKey="createCategory"/>
23+
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2524
<createData entity="SimpleProduct" stepKey="createProduct">
2625
<field key="price">100.00</field>
2726
</createData>
2827
<actionGroup ref="AdminPayPalExpressCheckoutEnableActionGroup" stepKey="configPayPalExpress">
2928
<argument name="credentials" value="SamplePaypalExpressConfig2"/>
3029
</actionGroup>
31-
<!-- <actionGroup ref="AdminEnablePayPalExpressCheckoutPayLaterActionGroup" stepKey="enablePayPalPayLater"/>-->
32-
<actionGroup ref="AdminPayPalExpressCheckoutPayLaterEnableActionGroup" stepKey="activePayLater">
30+
<actionGroup ref="AdminPayPalExpressCheckoutPayLaterEnableActionGroup" stepKey="activatePayLater">
3331
<argument name="countryCode" value="us"/>
3432
</actionGroup>
3533
<!-- Create Tax Rule w/ NY & CA Tax Rates -->
36-
<actionGroup ref="AdminTaxRateGridOpenPageActionGroup" stepKey="goToTaxRatesPage"/>
34+
<actionGroup ref="AdminTaxRateGridOpenPageActionGroup" stepKey="goToTaxRatesPage"/>
3735
<actionGroup ref="AdminDeleteMultipleTaxRatesActionGroup" stepKey="deleteAllNonDefaultTaxRates"/>
3836
<actionGroup ref="AdminGoToNewTaxRulePageActionGroup" stepKey="goToCreateTaxRulePage"/>
3937
<fillField selector="{{AdminTaxRulesSection.ruleName}}" userInput="{{SimpleTaxRule.code}}" stepKey="fillRuleName"/>
@@ -47,7 +45,6 @@
4745
</before>
4846
<after>
4947
<!-- Delete Product -->
50-
<deleteData stepKey="deleteCategory" createDataKey="createCategory"/>
5148
<deleteData stepKey="deleteProduct" createDataKey="createProduct"/>
5249
<!-- Disable Paypal -->
5350
<actionGroup ref="AdminPayPalExpressCheckoutDisableActionGroup" stepKey="configPaypalExpressCheckoutDisable"/>
@@ -103,14 +100,8 @@
103100
<argument name="product" value="$$createProduct$$"/>
104101
<argument name="quantity" value="1"/>
105102
</actionGroup>
106-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="cleanCacheAgain">
107-
<argument name="tags" value=""/>
108-
</actionGroup>
109103
<!-- Open mini cart from product page and verify price -->
110104
<actionGroup ref="StorefrontOpenMiniCartActionGroup" stepKey="openMiniShoppingCartAgain"/>
111-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="cleanCacheRunAgain">
112-
<argument name="tags" value=""/>
113-
</actionGroup>
114105
<actionGroup ref="AssertStorefrontMiniCartSubtotalActionGroup" stepKey="assertSubtotal">
115106
<argument name="subtotal" value="$92.38"/>
116107
</actionGroup>

0 commit comments

Comments
 (0)