File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
app/code/Magento/Paypal/Test/Mftf Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 25
25
<seeElement selector =" {{AdminConfigPaymentsAdvancedSection.paymentsAdvanced(countryCode)}}" stepKey =" assertPaymentAdvanced" />
26
26
<seeElement selector =" {{AdminConfigPaymentsAdvancedSection.paymentsPro(countryCode)}}" stepKey =" assertPaymentsPro" />
27
27
<seeElement selector =" {{AdminConfigPaymentsAdvancedSection.paymentsStandard(countryCode)}}" stepKey =" assertPaymentStandard" />
28
- <wait time = " 10 " stepKey =" waitForConfigurebtnForPaymentsAdvanced " />
28
+ <waitForElementClickable selector = " {{AdminConfigPaymentsAdvancedSection.paymentsAdvanced(countryCode)}} " stepKey =" waitToClickPaymentAdvanced " />
29
29
<click selector =" {{AdminConfigPaymentsAdvancedSection.paymentsAdvanced(countryCode)}}" stepKey =" clickPaymentAdvanced" />
30
30
</actionGroup >
31
31
</actionGroups >
Original file line number Diff line number Diff line change 13
13
<description >Configuration for Payments Advanced and Paypal credit Sample PayPal credentials</description >
14
14
</annotations >
15
15
<arguments >
16
- <argument name =" credentials" defaultValue =" SamplePaypalPaymentsAdvancedConfig2 " />
16
+ <argument name =" credentials" defaultValue =" SamplePaypalPaymentsAdvancedConfig " />
17
17
<argument name =" countryCode" type =" string" defaultValue =" us" />
18
18
</arguments >
19
19
<scrollTo selector =" {{AdminConfigPaymentsAdvancedSection.partner(countryCode)}}" stepKey =" scrollToBottom" />
Original file line number Diff line number Diff line change 224
224
<data key =" paypal_express_merchantID" >54Z2EE6T7PRB4</data >
225
225
</entity >
226
226
<!-- configuration used for paypal PaymentsAdvanced-->
227
- <entity name =" SamplePaypalPaymentsAdvancedConfig2 " type =" payflow_advanced_config" >
227
+ <entity name =" SamplePaypalPaymentsAdvancedConfig " type =" payflow_advanced_config" >
228
228
<data key =" payflow_advanced_partner" >PayPal</data >
229
229
<data key =" payflow_advanced_user" >mpilink</data >
230
230
<data key =" payflow_advanced_vendor" >mpilink</data >
Original file line number Diff line number Diff line change 27
27
</before >
28
28
<after >
29
29
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
30
- <magentoCLI command =" config:set paypal/general/merchant_country US " stepKey =" setMerchantCountryAsUS" />
30
+ <magentoCLI command =" config:set paypal/general/merchant_country 0 " stepKey =" setMerchantCountryAsUS" />
31
31
<magentoCLI command =" config:set payment/payflow_advanced/active 0" stepKey =" disablePaymentsAdvanced" />
32
32
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
33
33
<deleteData createDataKey =" simpleProduct" stepKey =" deleteProduct" />
41
41
<actionGroup ref =" AdminEnablePaymentAdvancedConfigurationActionGroup" stepKey =" enablePaymentsAdvanced" />
42
42
<!-- Save Configuration-->
43
43
<actionGroup ref =" AdminSaveConfigActionGroup" stepKey =" saveConfigs" />
44
- <magentoCLI command =" indexer:reindex" stepKey =" performReindex" />
45
- <magentoCLI command =" cache:flush" stepKey =" cleanCache" />
44
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindex" >
45
+ <argument name =" indices" value =" " />
46
+ </actionGroup >
47
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanCache" >
48
+ <argument name =" tags" value =" config full_page" />
49
+ </actionGroup >
50
+
46
51
<!-- Login to storefront as guest customer-->
47
52
<actionGroup ref =" StorefrontOpenHomePageActionGroup" stepKey =" goToStoreFront" />
48
53
<waitForPageLoad stepKey =" waitForProductPage" />
You can’t perform that action at this time.
0 commit comments