Skip to content

Commit 78b3d04

Browse files
committed
ACQE-6710:Check configuration for PayPal Payflow Link in Unites States
Correction On Using _CREDS as credentials
1 parent 9923adf commit 78b3d04

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

app/code/Magento/Paypal/Test/Mftf/ActionGroup/AdminEnablePaypalPayflowlinkThroughCLICommandActionGroup.xml

100644100755
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
<annotations>
1111
<description>Enable Paypal Payflow Link through CLI Command with all Credentials in Configuration</description>
1212
</annotations>
13-
<magentoCLI command="config:set {{PaypalPayflowEditionEmail.path}} {{PaypalPayflowEditionEmail.value}}" stepKey="enterInputForEmail"/>
14-
<magentoCLI command="config:set {{PaypalPayflowEditionPartner.path}} {{PaypalPayflowEditionPartner.value}}" stepKey="enterInputForPartner"/>
15-
<magentoCLI command="config:set {{PaypalPayflowEditionVendor.path}} {{PaypalPayflowEditionVendor.value}}" stepKey="enterInputForVendor"/>
16-
<magentoCLI command="config:set {{PaypalPayflowEditionUser.path}} {{PaypalPayflowEditionUser.value}}" stepKey="enterInputForUser"/>
17-
<magentoCLI command="config:set {{PaypalPayflowEditionPassword.path}} {{PaypalPayflowEditionPassword.value}}" stepKey="enterInputForPassword"/>
13+
<arguments>
14+
<argument name="credentials" defaultValue="_CREDS"/>
15+
</arguments>
16+
<magentoCLI command="config:set {{PaypalPayflowEditionEmail.path}} {{credentials.magento/paypal_paymentsflowlink_businessacct}}" stepKey="enterInputForEmail"/>
17+
<magentoCLI command="config:set {{PaypalPayflowEditionPartner.path}} {{credentials.magento/paypal_paymentsflowlink_partner}}" stepKey="enterInputForPartner"/>
18+
<magentoCLI command="config:set {{PaypalPayflowEditionVendor.path}} {{credentials.magento/paypal_paymentsflowlink_vendor}}" stepKey="enterInputForVendor"/>
19+
<magentoCLI command="config:set {{PaypalPayflowEditionUser.path}} {{credentials.magento/paypal_paymentsflowlink_user}}" stepKey="enterInputForUser"/>
20+
<magentoCLI command="config:set {{PaypalPayflowEditionPassword.path}} {{credentials.magento/paypal_paymentsflowlink_password}}" stepKey="enterInputForPassword"/>
1821
<magentoCLI command="config:set {{SandboxFlag.path}} {{SandboxFlag.value}}" stepKey="enableSandboxMode"/>
1922
<magentoCLI command="config:set {{EnablePaypalPayflowEditionoMethod.path}} {{EnablePaypalPayflowEditionoMethod.value}}" stepKey="enablePayflowEdition"/>
2023
<magentoCLI command="config:set {{EnablePaypalExpressPayflow.path}} {{EnablePaypalExpressPayflow.value}}" stepKey="enablePaypalExpress"/>

app/code/Magento/Paypal/Test/Mftf/Data/PaypalData.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,23 +269,18 @@
269269
</entity>
270270
<entity name="PaypalPayflowEditionEmail" type="text">
271271
<data key="path">paypal/general/business_account</data>
272-
<data key="value">us_m2_biz@ebay.com</data>
273272
</entity>
274273
<entity name="PaypalPayflowEditionPartner" type="text">
275274
<data key="path">payment/payflow_link/partner</data>
276-
<data key="value">PayPal</data>
277275
</entity>
278276
<entity name="PaypalPayflowEditionUser" type="password">
279277
<data key="path">payment/payflow_link/user</data>
280-
<data key="value">mpilink</data>
281278
</entity>
282279
<entity name="PaypalPayflowEditionVendor" type="text">
283280
<data key="path">payment/payflow_link/vendor</data>
284-
<data key="value">mpilink</data>
285281
</entity>
286282
<entity name="PaypalPayflowEditionPassword" type="password">
287283
<data key="path">payment/payflow_link/pwd</data>
288-
<data key="value">1234_1234L!</data>
289284
</entity>
290285
<entity name="SandboxFlag" type="sandbox_flag">
291286
<data key="path">payment/payflow_link/sandbox_flag</data>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
<features value="PayPal"/>
1313
<stories value="Payment methods"/>
1414
<title value="Check configuration for PayPal Payflow Link in Unites States"/>
15-
<description value="Check paypal Credit payment option's enablement and disablement based on the configuration setting in backend"/>
15+
<description value="Check payflow payment option's enablement and disablement based on the configuration setting in backend"/>
1616
<severity value="MAJOR"/>
1717
<testCaseId value="AC-5217"/>
18+
<group value="3rd_party_integration"/>
1819
</annotations>
1920
<before>
2021
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>

0 commit comments

Comments
 (0)