|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| - <!-- |
3 |
| - /** |
4 |
| - * Copyright © Magento, Inc. All rights reserved. |
5 |
| - * See COPYING.txt for license details. |
6 |
| - */ |
7 |
| - --> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
8 | 8 | <suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
|
9 | 9 | <suite name="USPSShippingSuite">
|
10 | 10 | <before>
|
11 | 11 | <!--Login as Admin-->
|
12 | 12 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
13 |
| - <!--Navigate to shipping method configuration--> |
14 |
| - <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPageToEnableUSPS"/> |
15 | 13 | <!--Configure USPS shipping method-->
|
16 |
| - <actionGroup ref="AdminEnableUSPSActionGroup" stepKey="configureUSPSShippingMethod"> |
17 |
| - <argument name="shipping" value="USPSShippingMethodConfig"/> |
18 |
| - </actionGroup> |
19 |
| - <!--Cache flush--> |
| 14 | + <magentoCLI command="config:set {{AdminEnableUSPSConfigData.path}} {{AdminEnableUSPSConfigData.value}}" stepKey="enableUSPS"/> |
| 15 | + <magentoCLI command="config:set {{AdminUserIDUSPSConfigData.path}} {{AdminUserIDUSPSConfigData.value}}" stepKey="fillUserIDUSPS"/> |
| 16 | + <magentoCLI command="config:set {{AdminPasswordUSPSConfigData.path}} {{AdminPasswordUSPSConfigData.value}}" stepKey="fillPasswordUSPS"/> |
| 17 | + <magentoCLI command="config:set {{AdminEnableDebugUSPSConfigData.path}} {{AdminEnableDebugUSPSConfigData.value}}" stepKey="enableDebugUSPS"/> |
| 18 | + <magentoCLI command="config:set {{AdminEnableShowMethodUSPSConfigData.path}} {{AdminEnableShowMethodUSPSConfigData.value}}" stepKey="enableShowMethodUSPS"/> |
| 19 | + <!--Flush cache post configuration--> |
20 | 20 | <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCachePostConfiguring">
|
21 | 21 | <argument name="tags" value="config full_page"/>
|
22 | 22 | </actionGroup>
|
23 | 23 | </before>
|
24 | 24 | <after>
|
25 |
| - <!--Navigate to shipping method configuration--> |
26 |
| - <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPageToDisableUSPS"/> |
27 | 25 | <!--Disable USPS shipping carrier-->
|
28 |
| - <actionGroup ref="AdminDisableUSPSActionGroup" stepKey="disableUSPS"/> |
| 26 | + <magentoCLI command="config:set {{AdminDisableUSPSConfigData.path}} {{AdminDisableUSPSConfigData.value}}" stepKey="disableUSPS"/> |
| 27 | + <magentoCLI command="config:set {{AdminDisableDebugUSPSConfigData.path}} {{AdminDisableDebugUSPSConfigData.value}}" stepKey="disableDebugUSPS"/> |
| 28 | + <magentoCLI command="config:set {{AdminDisableShowMethodUSPSConfigData.path}} {{AdminDisableShowMethodUSPSConfigData.value}}" stepKey="disableShowMethodUSPS"/> |
29 | 29 | </after>
|
30 | 30 | <include>
|
31 | 31 | <group name="EnableUSPSShippingSuite"/>
|
|
0 commit comments