Skip to content

Commit 008ab55

Browse files
committed
ACQE-6434:Default configuration for Paypal Pay Later Message
Renaming PayPalCheckoutPageConfigSection to AdminPaypalCheckoutPageConfigSection
1 parent 2eb3b23 commit 008ab55

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
<arguments>
1414
<argument name="countryCode" type="string" defaultValue="us"/>
1515
</arguments>
16-
<waitForElementClickable selector="{{PayPalCheckoutCartConfigSection.expandCheckoutCartPage(countryCode)}}" stepKey="waitForCheckoutCartPageClickable"/>
17-
<click selector="{{PayPalCheckoutCartConfigSection.expandCheckoutCartPage(countryCode)}}" stepKey="clickCheckoutCart"/>
18-
<selectOption selector ="{{PayPalCheckoutCartConfigSection.display(countryCode)}}" userInput="Yes" stepKey="enableDisplayforPaylaterCartPage"/>
19-
<seeOptionIsSelected selector="{{PayPalCheckoutCartConfigSection.position(countryCode)}}" userInput="Header (center)" stepKey="seeSelectedPosition"/>
20-
<seeOptionIsSelected selector="{{PayPalCheckoutCartConfigSection.styleLayout(countryCode)}}" userInput="Text" stepKey="seeSelectedStyleLayout"/>
21-
<seeOptionIsSelected selector="{{PayPalCheckoutCartConfigSection.logoType(countryCode)}}" userInput="Primary" stepKey="seeSelectedLogoType"/>
22-
<seeOptionIsSelected selector="{{PayPalCheckoutCartConfigSection.logoPosition(countryCode)}}" userInput="Left" stepKey="seeSelectedLogoPosition"/>
23-
<seeOptionIsSelected selector="{{PayPalCheckoutCartConfigSection.textColor(countryCode)}}" userInput="Black" stepKey="seeSelectedTextColor"/>
16+
<waitForElementClickable selector="{{AdminPaypalCheckoutCartPageConfigSection.expandCheckoutCartPage(countryCode)}}" stepKey="waitForCheckoutCartPageClickable"/>
17+
<click selector="{{AdminPaypalCheckoutCartPageConfigSection.expandCheckoutCartPage(countryCode)}}" stepKey="clickCheckoutCart"/>
18+
<selectOption selector ="{{AdminPaypalCheckoutCartPageConfigSection.display(countryCode)}}" userInput="Yes" stepKey="enableDisplayforPaylaterCartPage"/>
19+
<seeOptionIsSelected selector="{{AdminPaypalCheckoutCartPageConfigSection.position(countryCode)}}" userInput="Header (center)" stepKey="seeSelectedPosition"/>
20+
<seeOptionIsSelected selector="{{AdminPaypalCheckoutCartPageConfigSection.styleLayout(countryCode)}}" userInput="Text" stepKey="seeSelectedStyleLayout"/>
21+
<seeOptionIsSelected selector="{{AdminPaypalCheckoutCartPageConfigSection.logoType(countryCode)}}" userInput="Primary" stepKey="seeSelectedLogoType"/>
22+
<seeOptionIsSelected selector="{{AdminPaypalCheckoutCartPageConfigSection.logoPosition(countryCode)}}" userInput="Left" stepKey="seeSelectedLogoPosition"/>
23+
<seeOptionIsSelected selector="{{AdminPaypalCheckoutCartPageConfigSection.textColor(countryCode)}}" userInput="Black" stepKey="seeSelectedTextColor"/>
2424
</actionGroup>
2525
</actionGroups>

app/code/Magento/Paypal/Test/Mftf/Section/PayPalCheckoutCartConfigSection.xml renamed to app/code/Magento/Paypal/Test/Mftf/Section/AdminPaypalCheckoutCartPageConfigSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
10-
<section name="PayPalCheckoutCartConfigSection">
10+
<section name="AdminPaypalCheckoutCartPageConfigSection">
1111
<element name="expandCheckoutCartPage" type="button" selector="#payment_{{countryCode}}_paypal_alternative_payment_methods_express_checkout_{{countryCode}}_express_checkout_required_advertise_paylater_settings_paylater_cartpage-head" parameterized="true"/>
1212
<element name="display" type="input" selector="#payment_{{countryCode}}_paypal_alternative_payment_methods_express_checkout_{{countryCode}}_express_checkout_required_advertise_paylater_settings_paylater_cartpage_paylater_cartpage_display" parameterized="true"/>
1313
<element name="position" type="input" selector="#payment_{{countryCode}}_paypal_alternative_payment_methods_express_checkout_{{countryCode}}_express_checkout_required_advertise_paylater_settings_paylater_cartpage_paylater_cartpage_position" parameterized="true"/>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<severity value="CRITICAL"/>
1717
<testCaseId value="AC-5644"/>
1818
<group value="pr_exclude"/>
19+
<group value="3rd_party_integration"/>
1920
</annotations>
2021
<before>
2122
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>

0 commit comments

Comments
 (0)