|
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="PaylaterProductPageConfigActionGroup" > |
| 9 | + <actionGroup name="PaylaterProductPageConfigActionGroup"> |
10 | 10 | <annotations>
|
11 | 11 | <description>Enable Paypal Paylater Solution For Paypal Express Checkout</description>
|
12 | 12 | </annotations>
|
13 | 13 | <arguments>
|
14 | 14 | <argument name="countryCode" type="string" defaultValue="us"/>
|
15 | 15 | </arguments>
|
16 | 16 | <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/>
|
17 |
| - <waitForElementClickable selector="{{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey="waitForConfigureButtonClickable"/> |
18 |
| - <click selector="{{PayPalExpressCheckoutConfigSection.configureBtn('us')}}" stepKey="configureButtonClicked"/> |
19 |
| - <selectOption selector ="{{PayPalExpressCheckoutConfigSection.enablePayLater('us')}}" userInput="Yes" stepKey="enablePaylaterExp"/> |
| 17 | + <waitForElementClickable selector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" stepKey="waitForConfigureButtonClickable"/> |
| 18 | + <click selector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" stepKey="configureButtonClicked"/> |
| 19 | + <selectOption selector ="{{PayPalExpressCheckoutConfigSection.enablePayLater(countryCode)}}" userInput="Yes" stepKey="enablePaylaterExp"/> |
20 | 20 | <waitForPageLoad stepKey="waitForAdvisePageLoad"/>
|
21 |
| - <click selector="{{PayPalExpressCheckoutConfigSection.payLaterConfigDropDown('us')}}" stepKey="advertisePaylater"/> |
| 21 | + <click selector="{{PayPalExpressCheckoutConfigSection.payLaterConfigDropDown(countryCode)}}" stepKey="advertisePaylater"/> |
22 | 22 | <waitForPageLoad stepKey="waitForAdvisePaylaterDropdown"/>
|
23 | 23 | <selectOption selector ="{{PayPalExpressCheckoutConfigSection.enablePayLaterIn(countryCode)}}" userInput="Yes" stepKey="enablePaypalLater"/>
|
24 |
| - <waitForElementClickable selector="{{PayPalProductPageConfigSection.expandCatalogProductPage(countryCode)}}" stepKey="waitForCheckoutCartPageClickable"/> |
25 |
| - <click selector="{{PayPalProductPageConfigSection.expandCatalogProductPage(countryCode)}}" stepKey="clickCheckoutCart"/> |
26 |
| - <selectOption selector ="{{PayPalProductPageConfigSection.display(countryCode)}}" userInput="Yes" stepKey="enableDisplayforPaylaterCartPage"/> |
27 | 24 | </actionGroup>
|
28 | 25 | </actionGroups>
|
0 commit comments