|
8 | 8 |
|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
|
11 |
| - <actionGroup name="AdminPayPalPayflowProActionGroup" extends="AdminPayPalPayflowProWithValutActionGroup"> |
| 11 | + <actionGroup name="AdminPayPalPayflowProActionGroup"> |
12 | 12 | <annotations>
|
13 | 13 | <description>Go to the 'Configuration' page for 'Payment Methods'. Fill in the provided Sample PayPal Payflow pro credentials and other details. Clicks on Save.</description>
|
14 | 14 | </annotations>
|
15 |
| - <remove keyForRemoval="enableSolutionValut"/> |
| 15 | + <arguments> |
| 16 | + <argument name="credentials" defaultValue="_CREDS"/> |
| 17 | + <argument name="countryCode" type="string" defaultValue="us"/> |
| 18 | + </arguments> |
| 19 | + <amOnPage url="{{AdminConfigPaymentMethodsPage.url}}" stepKey="navigateToPaymentConfigurationPage"/> |
| 20 | + <waitForPageLoad stepKey="waitForConfigPageLoad"/> |
| 21 | + <click selector ="{{OtherPayPalPaymentsConfigSection.expandTab(countryCode)}}" stepKey="expandOtherPaypalConfigButton"/> |
| 22 | + <scrollTo selector="{{PayPalPayflowProConfigSection.paymentGateway(countryCode)}}" stepKey="scrollToConfigure"/> |
| 23 | + <click selector ="{{PayPalPayflowProConfigSection.configureBtn(countryCode)}}" stepKey="clickPayPalPaymentsProConfigureBtn"/> |
| 24 | + <scrollTo selector="{{PayPalPayflowProConfigSection.partner(countryCode)}}" stepKey="scrollToBottom"/> |
| 25 | + <fillField selector ="{{PayPalPayflowProConfigSection.partner(countryCode)}}" userInput="{{credentials.magento/payflow_pro_partner}}" stepKey="inputPartner"/> |
| 26 | + <fillField selector ="{{PayPalPayflowProConfigSection.user(countryCode)}}" userInput="{{credentials.magento/payflow_pro_user}}" stepKey="inputUser"/> |
| 27 | + <fillField selector ="{{PayPalPayflowProConfigSection.vendor(countryCode)}}" userInput="{{credentials.magento/payflow_pro_vendor}}" stepKey="inputVendor"/> |
| 28 | + <fillField selector ="{{PayPalPayflowProConfigSection.password(countryCode)}}" userInput="{{credentials.magento/payflow_pro_pwd}}" stepKey="inputPassword"/> |
| 29 | + <selectOption selector="{{PayPalPayflowProConfigSection.testmode(countryCode)}}" userInput="Yes" stepKey="enableTestMode"/> |
| 30 | + <selectOption selector ="{{PayPalPayflowProConfigSection.enableSolution(countryCode)}}" userInput="Yes" stepKey="enableSolution"/> |
| 31 | + <selectOption selector ="{{PayPalPayflowProConfigSection.enableVault(countryCode)}}" userInput="Yes" stepKey="enableSolutionValut"/> |
| 32 | + <click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/> |
| 33 | + <waitForPageLoad stepKey="waitForSaving"/> |
| 34 | + <see selector="{{AdminMessagesSection.success}}" userInput="You saved the configuration." stepKey="seeSuccess"/> |
16 | 35 | </actionGroup>
|
17 | 36 | </actionGroups>
|
0 commit comments