File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 62
62
<actionGroup ref =" StorefrontCheckoutClickNextOnShippingStepActionGroup" stepKey =" goToCheckoutPaymentPage" />
63
63
<waitForPageLoad stepKey =" waitForLoadingPaypalPaymentPage" />
64
64
<!-- Assert Paypal Pro and Paypal Credit Payment method -->
65
- <seeElement selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowEdition}}" stepKey =" assertPayflowEdition" />
66
- <seeElement selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowExpress}}" stepKey =" assertPayflowExpress" />
67
- <seeElement selector =" {{AdminConfigPaymentsProPaypalCreditSection.creditCardPayflow}}" stepKey =" assertCreditCardPayflowPro" />
65
+ <waitForElementVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowEdition}}" stepKey =" assertPayflowEdition" />
66
+ <waitForElementVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowExpress}}" stepKey =" assertPayflowExpress" />
67
+ <waitForElementVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.creditCardPayflow}}" stepKey =" assertCreditCardPayflowPro" />
68
+ <magentoCLI command =" config:set payment/payflow_express_bml/active 0" stepKey =" disablePayPalCredit" />
69
+ <magentoCLI command =" config:set payment/payflowpro_cc_vault/active 1" stepKey =" enablePayPalVault" />
70
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindex" >
71
+ <argument name =" indices" value =" " />
72
+ </actionGroup >
73
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanCache" >
74
+ <argument name =" tags" value =" config full_page" />
75
+ </actionGroup >
76
+ <!-- Refresh page -->
77
+ <reloadPage stepKey =" refreshPage" />
78
+ <waitForElementVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowEdition}}" stepKey =" seePayflowEditionPayment" />
79
+ <waitForElementNotVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.payFlowExpress}}" stepKey =" dontSeePaypalCreditPayment" />
80
+ <waitForElementVisible selector =" {{AdminConfigPaymentsProPaypalCreditSection.creditCardPayflow}}" stepKey =" seeCreditcardPayment" />
68
81
</test >
69
82
</tests >
You can’t perform that action at this time.
0 commit comments