|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
|
11 | 11 | <actionGroup name="AdminPayPalExpressCheckoutPayLaterEnableActionGroup">
|
12 | 12 | <annotations>
|
13 |
| - <description>Goes to the 'Configuration' page for 'Payment Methods'. Enable Paylater option.</description> |
| 13 | + <description>Goes to the 'Configuration' page for 'Payment Methods'. Enable pay later option.</description> |
14 | 14 | </annotations>
|
15 | 15 | <arguments>
|
16 | 16 | <argument name="countryCode" type="string" defaultValue="us"/>
|
17 | 17 | </arguments>
|
18 |
| - <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentPayLaterConfigurationPage"/> |
19 |
| - <waitForPageLoad stepKey="waitForPageLoadOnPayLater"/> |
20 |
| - <click selector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" stepKey="clickPayPalConfigureBtnForPayLater"/> |
21 |
| - <selectOption selector="{{PayPalExpressCheckoutConfigSection.enablePaylater(countryCode)}}" userInput="Yes" stepKey="enablePaylater"/> |
22 |
| - <waitForPageLoad stepKey="waitForPageLoadOnPayLater2"/> |
| 18 | + <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/> |
| 19 | + <waitForPageLoad stepKey="waitForPageLoad1"/> |
| 20 | + <click selector="{{PayPalExpressCheckoutConfigSection.configureBtn(countryCode)}}" stepKey="clickPayPalConfigureBtn"/> |
| 21 | + <selectOption selector="{{PayPalExpressCheckoutConfigSection.enablePayLater(countryCode)}}" userInput="Yes" stepKey="enablePayLater"/> |
23 | 22 | <click selector="{{PayPalExpressCheckoutConfigSection.payLaterConfigDropDown(countryCode)}}" stepKey="clickPayLaterConfiguration" />
|
24 |
| - <waitForPageLoad stepKey="waitForPageLoadOnPayLater3"/> |
25 |
| - <selectOption selector="{{PayPalExpressCheckoutConfigSection.enablePaylaterIn(countryCode)}}" userInput="Yes" stepKey="enablePaylaterIn"/> |
| 23 | + <selectOption selector="{{PayPalExpressCheckoutConfigSection.enablePayLaterIn(countryCode)}}" userInput="Yes" stepKey="enablePayLaterIn"/> |
26 | 24 | <click selector="{{PayPalExpressCheckoutConfigSection.payLaterCatalogPageConfigDropDown(countryCode)}}" stepKey="clickCatalogPageConfig" />
|
27 |
| - <waitForPageLoad stepKey="waitForPageLoadOnPayLater4"/> |
28 | 25 | <selectOption selector="{{PayPalExpressCheckoutConfigSection.display(countryCode)}}" userInput="Yes" stepKey="enableDisplay"/>
|
29 | 26 | <selectOption selector="{{PayPalExpressCheckoutConfigSection.position(countryCode)}}" userInput="near_pp_button" stepKey="enablePayLaterButton"/>
|
30 |
| - <click selector="{{AdminConfigSection.saveButton}}" stepKey="savePayLaterConfig"/> |
31 |
| - <waitForPageLoad stepKey="waitForPageLoad5"/> |
| 27 | + <click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/> |
| 28 | + <waitForPageLoad stepKey="waitForPageLoad2"/> |
32 | 29 | </actionGroup>
|
33 | 30 | </actionGroups>
|
0 commit comments