Skip to content

Commit 0fb32dc

Browse files
MC-15140: Paypal Express Checkout - When user hits Cancel button on pop-up "There is already another PayPal solution enabled...." then "Enable this Solution" drop down still says "Yes" instead of "No"
- Update automated test script
1 parent 5009bb8 commit 0fb32dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/>
2929
<waitForPageLoad stepKey="waitForPageLoad2"/>
3030
</actionGroup>
31-
<actionGroup name="enablePayPalSolution" extends="EnablePayPalConfiguration">
31+
<actionGroup name="EnablePayPalSolution" extends="EnablePayPalConfiguration">
3232
<remove keyForRemoval="waitForOtherPayPalPaymentsSection"/>
3333
<remove keyForRemoval="clickOtherPayPalPaymentsSection"/>
3434
<remove keyForRemoval="seeAlertMessage"/>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
<amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
4242
<waitForPageLoad stepKey="waitForPageLoad"/>
4343
<conditionalClick selector="{{OtherPayPalPaymentsConfigSection.expandTab('us')}}" dependentSelector="{{OtherPayPalPaymentsConfigSection.expandedTab('us')}}" visible="false" stepKey="clickOtherPayPalPaymentsSection"/>
44-
<actionGroup ref="enablePayPalSolution" stepKey="enableExpressCheckout">
44+
<actionGroup ref="EnablePayPalSolution" stepKey="enableExpressCheckout">
4545
<argument name="payPalConfigType" value="WPSExpressConfigSection"/>
4646
<argument name="countryCode" value="us"/>
4747
</actionGroup>
4848
<click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/>
4949
<waitForPageLoad stepKey="waitForPageLoad2"/>
50-
<actionGroup ref="enablePayPalSolution" stepKey="enableExpressCheckout2">
50+
<actionGroup ref="EnablePayPalSolution" stepKey="enableExpressCheckout2">
5151
<argument name="payPalConfigType" value="PayPalExpressCheckoutConfigSection"/>
5252
<argument name="countryCode" value="us"/>
5353
</actionGroup>

0 commit comments

Comments
 (0)