Skip to content

Commit eecb446

Browse files
“Pavan-bj” “Pavan-bj” 
authored andcommitted
ACQE-6573 : [AC-3928] Transfer Cart Line Items should work with flow of PayPal Smart Button
1 parent 6cf7df6 commit eecb446

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,24 @@
1515
<severity value="MAJOR"/>
1616
<testCaseId value="AC-3928"/>
1717
<group value="3rd_party_integration"/>
18-
<!-- <group value="paypalExpress"/>-->
18+
<group value="paypalExpress"/>
1919
<!-- <group value="pr_exclude" />-->
2020
</annotations>
2121
<before>
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
23-
<!-- New Customer -->
23+
<magentoCLI command="config:set {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.path}} {{StorefrontPaypalExpressAuthorizationPaymentActionOptionConfigData.value}}" stepKey="setPaymentActionAuthorization"/>-->
24+
<magentoCLI command="config:set {{StorefrontPaypalEnableTransferCartLineConfigData.path}} {{StorefrontPaypalEnableTransferCartLineConfigData.value}}" stepKey="enableTransferCartLine"/>
25+
<!-- New Customer -->
2426
<createData entity="Simple_US_Customer" stepKey="createCustomer">
2527
<field key="firstname">John1</field>
2628
<field key="lastname">Doe1</field>
2729
</createData>
2830
<createData entity="SimpleProduct2" stepKey="simpleProduct">
2931
<field key="price">1</field>
3032
</createData>
31-
<actionGroup ref="AdminPayPalExpressCheckoutEnableActionGroup" stepKey="ConfigPayPalExpress">
32-
<argument name="credentials" value="SamplePaypalExpressConfig2"/>
33-
</actionGroup>
3433
</before>
3534
<after>
3635
<magentoCLI command="config:set paypal/general/merchant_country US" stepKey="setMerchantCountry"/>
37-
<magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/>
3836
<magentoCLI command="config:set payment/wps_express/active 0" stepKey="disableWPSExpress"/>
3937
<actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer" />
4038
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
@@ -76,6 +74,6 @@
7674
<waitForElementClickable selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="waitForInvoicesTabClickable" />
7775
<click selector="{{AdminOrderDetailsOrderViewSection.invoices}}" stepKey="openInvoicesTab"/>
7876
<!--Check Invoice Section -->
79-
<waitForElementVisible selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" stepKey="waitForInvoiceSectionContentToBeAppeared"/>
77+
<waitForText selector="{{AdminOrderDetailsMainActionsSection.invoiceTabContent1}}" userInput="We couldn't find any records." stepKey="verifyThereIsNoInvoiceCreated"/>
8078
</test>
8179
</tests>

0 commit comments

Comments
 (0)