Skip to content

Commit 1acfe84

Browse files
committed
AC-2637: Added Italy and Spain regional documentation links
1 parent bbaa528 commit 1acfe84

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

app/code/Magento/Paypal/Block/Adminhtml/System/Config/PayLaterLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class PayLaterLink extends Field
2929
/**
3030
* @var array.
3131
*/
32-
private const ARRAY_PAYLATER_SUPPORTED_COUNTRIES = ['US','GB','DE','FR','AU'];
32+
private const ARRAY_PAYLATER_SUPPORTED_COUNTRIES = ['US','GB','DE','FR','AU','IT','ES'];
3333

3434
/**
3535
* @var ScopeConfigInterface

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,12 @@
4444
<argument name="enabledOption" value="Yes"/>
4545
<argument name="countryCode" value="us"/>
4646
</actionGroup>
47+
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="Italy" stepKey="setMerchantCountry4"/>
48+
<waitForPageLoad stepKey="waitForPageLoa4"/>
49+
<actionGroup ref="AdminPayPalRegionalLinkOtherActionGroup" stepKey="verifyPayPalCommentCommentLink4">
50+
<argument name="payPalConfigType" value="PayPalExpressCheckoutOtherCountryConfigSection"/>
51+
<argument name="enabledOption" value="Yes"/>
52+
<argument name="countryCode" value="it"/>
53+
</actionGroup>
4754
</test>
4855
</tests>

0 commit comments

Comments
 (0)