Skip to content

Commit f123f8a

Browse files
committed
ACQE-6571:Check config for payments pro in Unites States
Updated with Testcases
1 parent 14981e3 commit f123f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanCache">
6060
<argument name="tags" value="config full_page"/>
6161
</actionGroup>
62-
<waitForElementNotVisible selector="{{PayPalPaymentsProConfigSection.closeButton('us')}}" stepKey="assertConfigureBtnNotVisible"/>
62+
<waitForElementNotVisible selector="{{PayPalPaymentsProConfigSection.closeButton('us')}}" stepKey="assertConfigureBtnIsDisabled"/>
6363
<!--Login to storefront as guest customer-->
6464
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStoreFront"/>
6565
<waitForPageLoad stepKey="waitForProductPage"/>
@@ -118,7 +118,7 @@
118118
<seeOptionIsSelected selector="{{PayPalPaymentsProConfigSection.enablePaypalCredit('us')}}" userInput="No" stepKey="seeEnablePaypalCreditIsSetAsNo"/>
119119
<waitForElementNotVisible selector="{{PayPalPaymentsProConfigSection.disabledPaypalCredit('us')}}" stepKey="assertGreenTickMarkAbsentForPaypalCreditDropdown"/>
120120
<waitForElementVisible selector="{{PayPalPaymentsProConfigSection.disabledVault('us')}}" stepKey="assertGreenTickMarkForEnableVaultDropdown"/>
121-
<waitForElementVisible selector="{{PayPalPaymentsProConfigSection.closeButton('us')}}" stepKey="assertConfigBtnNotToBeVisible"/>
121+
<waitForElementVisible selector="{{PayPalPaymentsProConfigSection.closeButton('us')}}" stepKey="assertConfigBtnIsDisabled"/>
122122
<!--Go to checkout page and assert paypal express checkout Payflow Edition and Credit Card option is present-->
123123
<actionGroup ref="StorefrontNavigateToGuestCheckoutReviewAndPaymentsPageActionGroup" stepKey= "goToStoreFrontCheckoutPageToAssertPaypalPaymentMethodIsPresent"/>
124124
<waitForElementVisible selector="{{StorefrontCheckoutPaymentMethodSection.checkPaymentMethodByName('PayPal Express Checkout Payflow Edition')}}" stepKey="assertPayPalExpressPayflowEdition"/>

0 commit comments

Comments
 (0)