|
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 |
| - <!--Enable Pay Later in Product Page and Check default values selected in dropdown --> |
37 |
| - <actionGroup ref="EnablePaypalPaylaterConfigurationActionGroup" stepKey="enablePaypalPaylaterSolution"> |
38 |
| - </actionGroup> |
| 30 | + <!--Enable Pay Later in Admin Product Page --> |
| 31 | + <actionGroup ref="PaylaterProductPageConfigActionGroup" stepKey="enablePaypalPaylaterSolution"/> |
| 32 | + <!--Check default values selected in dropdown --> |
| 33 | + <actionGroup ref="CheckValuesForAdminProductConfigActionGroup" stepKey="verifyDefaultValues"/> |
39 | 34 | <!--Click on Save configure Button -->
|
40 |
| - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveAdminConfiguration"> |
41 |
| - </actionGroup> |
42 |
| - <!-- Cleanup Paypal configurations --> |
43 |
| - <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanFullPageCache"> |
44 |
| - <argument name="tags" value="config full_page"/> |
45 |
| - </actionGroup> |
| 35 | + <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveAdminConfiguration"/> |
46 | 36 | </test>
|
47 | 37 | </tests>
|
0 commit comments