File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
app/code/Magento/Paypal/Test/Mftf Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
-->
7
7
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
8
8
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
9
- <actionGroup name =" EnablePaypalPaylaterConfigurationActionGroup " >
9
+ <actionGroup name =" PaylaterConfigurationActionGroup " >
10
10
<annotations >
11
11
<description >Enable Paypal Paylater Solution For Paypal Express Checkout</description >
12
12
</annotations >
13
+ <amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
14
+ <waitForElementClickable selector =" {{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey =" waitForConfigureButtonClickable" />
15
+ <click selector =" {{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey =" configureButtonClicked" />
16
+ <selectOption selector =" {{PayPalExpressCheckoutConfigSection.enablePayLater('us')}}" userInput =" Yes" stepKey =" enablePaylaterExp" />
17
+ <waitForPageLoad stepKey =" waitForAdvisePageLoad" />
18
+ <click selector =" {{PayPalExpressCheckoutConfigSection.payLaterConfigDropDown('us')}}" stepKey =" advertisePaylater" />
13
19
<waitForPageLoad stepKey =" waitForAdvisePaylaterDropdown" />
14
20
<selectOption selector =" {{PayPalExpressCheckoutConfigSection.enablePayLaterIn('us')}}" userInput =" Yes" stepKey =" enablePaypalLater" />
15
21
<waitForElementClickable selector =" {{PayPalCheckoutCartConfigSection.expandCheckoutCartPage('us')}}" stepKey =" waitForCheckoutCartPageClickable" />
Original file line number Diff line number Diff line change 24
24
</before >
25
25
<after >
26
26
<magentoCLI command =" config:set payment/paypal_express/active 0" stepKey =" disablePayPalExpress" />
27
+ <magentoCLI command =" cache:flush" stepKey =" cleanCache" />
27
28
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" amOnLogoutPage" />
28
29
</after >
29
- <!-- Enable Paylater For Paypal Express Checkout -->
30
- <amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToPaymentConfigurationPage" />
31
- <waitForElementClickable selector =" {{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey =" waitForConfigureButtonClickable" />
32
- <click selector =" {{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey =" configureButtonClicked" />
33
- <selectOption selector =" {{PayPalExpressCheckoutConfigSection.enablePayLater('us')}}" userInput =" Yes" stepKey =" enablePaylaterExp" />
34
- <waitForPageLoad stepKey =" waitForAdvisePageLoad" />
35
- <click selector =" {{PayPalExpressCheckoutConfigSection.payLaterConfigDropDown('us')}}" stepKey =" advertisePaylater" />
36
- <actionGroup ref =" EnablePaypalPaylaterConfigurationActionGroup" stepKey =" enablePaypalPaylaterSolution" >
30
+ <actionGroup ref =" PaylaterConfigurationActionGroup" stepKey =" enablePaypalPaylaterSolution" >
37
31
</actionGroup >
38
32
<!-- Check default values selected in dropdown -->
39
33
<actionGroup ref =" CheckValuesForAdminCartConfigActionGroup" stepKey =" checkValuesForAdminCartConfiguration" >
You can’t perform that action at this time.
0 commit comments