|
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"/> |
21 | | - <!-- Enabling Flat Rate --> |
22 | | - <magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/> |
23 | 23 | <!-- Creating subcategory --> |
24 | 24 | <createData entity="SimpleSubCategory" stepKey="createCategory"/> |
25 | 25 | <!-- Creating Simple Product --> |
|
29 | 29 | <!-- Go to Store > Configuration > Sales > Shipping Methods --> |
30 | 30 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/> |
31 | 31 | <!-- 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"/> |
| 32 | + <magentoCLI command="config:set {{EnableFreeShippingConfigData.path}} {{EnableFreeShippingConfigData.value}}" stepKey="enableFreeShipping"/> |
| 33 | + <magentoCLI command="config:set {{EnableFreeShippingToSpecificCountriesConfigData.path}} {{EnableFreeShippingToSpecificCountriesConfigData.value}}" stepKey="selectSpecificCountries"/> |
| 34 | + <magentoCLI command="config:set {{EnableFreeShippingToAfghanistanConfigData.path}} {{EnableFreeShippingToAfghanistanConfigData.value}}" stepKey="selectCountry"/> |
37 | 35 | <!-- 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"/> |
| 36 | + <actionGroup ref="AdminEnableDHLConfigurationActionGroup" stepKey="dhlConfig"/> |
47 | 37 | <!--Set Shipping settings origin data--> |
48 | 38 | <actionGroup ref="AdminSetShippingOriginConfigActionGroup" stepKey="setShippingOriginConfigurationData"> |
49 | 39 | <argument name="country" value="United States"/> |
50 | 40 | <argument name="state" value="California"/> |
51 | | - <argument name="postcode" value="90034"/> |
| 41 | + <argument name="postcode" value="90230"/> |
52 | 42 | </actionGroup> |
53 | 43 | <actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCachePostChangingConfigurationSettings"> |
54 | 44 | <argument name="tags" value="config"/> |
|
96 | 86 | <after> |
97 | 87 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> |
98 | 88 | <deleteData createDataKey="createSimpleProduct" stepKey="deleteProduct"/> |
99 | | - <!-- Disable flat rate method --> |
100 | | - <magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey="disableFlatRate"/> |
101 | 89 | <!-- Reset shipping origin --> |
102 | 90 | <actionGroup ref="AdminResetShippingOriginConfigurationActionGroup" stepKey="ResetCaliforniaShippingOrigin"/> |
103 | 91 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="shippingMethodConfigPage"/> |
104 | 92 | <!-- Reset free shipping origin --> |
105 | | - <actionGroup ref="AdminDisableFreeShippingActionGroup" stepKey="resetFreeShippingConfig"/> |
106 | | - <actionGroup ref="AdminSaveConfigActionGroup" stepKey="resetSaveConfiguration"/> |
| 93 | + <magentoCLI command="config:set {{DisableFreeShippingConfigData.path}} {{DisableFreeShippingConfigData.value}}" stepKey="disableFreeShipping"/> |
| 94 | + <magentoCLI command="config:set {{EnableFreeShippingToAllAllowedCountriesConfigData.path}} {{EnableFreeShippingToAllAllowedCountriesConfigData.value}}" stepKey="selectAllCountries"/> |
107 | 95 | <!-- Reset dhl configuration origin --> |
108 | 96 | <actionGroup ref="AdminDisableDHLConfigurationActionGroup" stepKey="resetDhlConfig"/> |
109 | 97 | <actionGroup ref="AdminSaveConfigActionGroup" stepKey="resetSaveConfigurationForDHL"/> |
|
0 commit comments