|
11 | 11 | <annotations> |
12 | 12 | <features value="Checkout"/> |
13 | 13 | <stories value="Shipping rate in Guest Checkout"/> |
14 | | - <title value="Guest Checkout - guest should be able to see the change in the shipping rate on fly."/> |
| 14 | + <title value="Available shipping rate is changed on fly according to inputed data"/> |
15 | 15 | <description value="Should be able to change the shipping rate while changing the input data based on the specific country and zipcode."/> |
16 | 16 | <severity value="CRITICAL"/> |
17 | 17 | <testCaseId value="AC-6139"/> |
| 18 | + <group value="pr_exclude"/> |
| 19 | + <group value="3rd_party_integration"/> |
18 | 20 | </annotations> |
19 | 21 | <before> |
20 | 22 | <actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/> |
|
29 | 31 | <!-- Go to Store > Configuration > Sales > Shipping Methods --> |
30 | 32 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/> |
31 | 33 | <!-- Free Shipping Configuration --> |
32 | | - <actionGroup ref="AdminEnableFreeShippingActionGroup" stepKey="freeShippingConfig"> |
33 | | - <argument name="allowSpecificCountry" value="Specific Countries"/> |
34 | | - <argument name="specificCountry" value="Afghanistan"/> |
35 | | - </actionGroup> |
36 | | - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfiguration"/> |
| 34 | + <magentoCLI command="config:set {{EnableFreeShippingMethod.path}} {{EnableFreeShippingMethod.value}}" stepKey="enableFreeShipping"/> |
| 35 | + <magentoCLI command="config:set {{EnableFreeShippingToSpecificCountriesConfigData.path}} {{EnableFreeShippingToSpecificCountriesConfigData.value}}" stepKey="selectSpecificCountries"/> |
| 36 | + <magentoCLI command="config:set {{EnableFreeShippingToAfghanistanConfigData.path}} {{EnableFreeShippingToAfghanistanConfigData.value}}" stepKey="selectCountry"/> |
37 | 37 | <!-- DHL Shipping Configuration --> |
38 | | - <actionGroup ref="AdminEnableDHLConfigurationActionGroup" stepKey="dhlConfig"> |
39 | | - <argument name="config" value="dhlConfigData"/> |
40 | | - <argument name="allowSpecificCountry" value="Specific Countries"/> |
41 | | - <argument name="specificCountry" value="United Kingdom"/> |
42 | | - <argument name="showMethod" value="Yes"/> |
43 | | - <argument name="debug" value="Yes"/> |
44 | | - <argument name="sandbox" value="Yes"/> |
45 | | - </actionGroup> |
46 | | - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfigurationForDHL"/> |
| 38 | + <actionGroup ref="AdminEnableDHLConfigurationActionGroup" stepKey="dhlConfig"/> |
47 | 39 | <!--Set Shipping settings origin data--> |
48 | 40 | <actionGroup ref="AdminSetShippingOriginConfigActionGroup" stepKey="setShippingOriginConfigurationData"> |
49 | 41 | <argument name="country" value="United States"/> |
50 | 42 | <argument name="state" value="California"/> |
51 | | - <argument name="postcode" value="90034"/> |
| 43 | + <argument name="postcode" value="90230"/> |
52 | 44 | </actionGroup> |
53 | 45 | <actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCachePostChangingConfigurationSettings"> |
54 | 46 | <argument name="tags" value="config"/> |
|
102 | 94 | <actionGroup ref="AdminResetShippingOriginConfigurationActionGroup" stepKey="ResetCaliforniaShippingOrigin"/> |
103 | 95 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="shippingMethodConfigPage"/> |
104 | 96 | <!-- Reset free shipping origin --> |
105 | | - <actionGroup ref="AdminDisableFreeShippingActionGroup" stepKey="resetFreeShippingConfig"/> |
106 | | - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="resetSaveConfiguration"/> |
| 97 | + <magentoCLI command="config:set {{DisableFreeShippingConfigData.path}} {{DisableFreeShippingConfigData.value}}" stepKey="disableFreeShipping"/> |
| 98 | + <magentoCLI command="config:set {{EnableFreeShippingToAllAllowedCountriesConfigData.path}} {{EnableFreeShippingToAllAllowedCountriesConfigData.value}}" stepKey="selectAllCountries"/> |
107 | 99 | <!-- Reset dhl configuration origin --> |
108 | 100 | <actionGroup ref="AdminDisableDHLConfigurationActionGroup" stepKey="resetDhlConfig"/> |
109 | 101 | <actionGroup ref="AdminSaveConfigActionGroup" stepKey="resetSaveConfigurationForDHL"/> |
|
0 commit comments