Skip to content

Commit badbaf4

Browse files
committed
ACQE-8465: Customer able to see USPS shipping zero when free shipping threshold enabled
- Added CLI commands which are related to config changes to before tag
1 parent 0a78487 commit badbaf4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/Shipping/Test/Mftf/Test/StorefrontVerifyUSPSShippingPriceIsZeroWhenFreeShippingThresholdEnabledTest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
<createData entity="SimpleProduct" stepKey="createProduct">
2626
<field key="price">49.00</field>
2727
</createData>
28+
<!-- Step 3:Enable Free Method select any shipping method -->
29+
<magentoCLI command="config:set {{AdminEnableFreeMethodUSPSConfigData.path}} {{AdminEnableFreeMethodUSPSConfigData.value}}" stepKey="enableFreeMethodUSPS"/>
30+
<!-- Step 4:Enable Free Shipping Threshold -->
31+
<magentoCLI command="config:set {{AdminEnableFreeShippingThresholdUSPSConfigData.path}} {{AdminEnableFreeShippingThresholdUSPSConfigData.value}}" stepKey="enableFreeShippingThresholdUSPS"/>
32+
<!-- Step 5:Fill Free Shipping Amount Threshold add amount -->
33+
<magentoCLI command="config:set {{AdminFillFreeShippingAmountThresholdUSPSConfigData.path}} {{AdminFillFreeShippingAmountThresholdUSPSConfigData.value}}" stepKey="fillFreeShippingAmountThresholdUSPS"/>
2834
</before>
2935
<after>
3036
<!--delete product-->
@@ -34,12 +40,6 @@
3440
<!-- Disable Free Shipping Threshold -->
3541
<magentoCLI command="config:set {{AdminDisableFreeShippingThresholdUSPSConfigData.path}} {{AdminDisableFreeShippingThresholdUSPSConfigData.value}}" stepKey="disableFreeShippingThresholdUSPS"/>
3642
</after>
37-
<!-- Step 3:Enable Free Method select any shipping method -->
38-
<magentoCLI command="config:set {{AdminEnableFreeMethodUSPSConfigData.path}} {{AdminEnableFreeMethodUSPSConfigData.value}}" stepKey="enableFreeMethodUSPS"/>
39-
<!-- Step 4:Enable Free Shipping Threshold -->
40-
<magentoCLI command="config:set {{AdminEnableFreeShippingThresholdUSPSConfigData.path}} {{AdminEnableFreeShippingThresholdUSPSConfigData.value}}" stepKey="enableFreeShippingThresholdUSPS"/>
41-
<!-- Step 5:Fill Free Shipping Amount Threshold add amount -->
42-
<magentoCLI command="config:set {{AdminFillFreeShippingAmountThresholdUSPSConfigData.path}} {{AdminFillFreeShippingAmountThresholdUSPSConfigData.value}}" stepKey="fillFreeShippingAmountThresholdUSPS"/>
4343
<!-- Step 7:Navigate to storefront add product to cart and checkout to shipping page -->
4444
<actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="navigateToProductPage">
4545
<argument name="productUrlKey" value="$createProduct.custom_attributes[url_key]$"/>

0 commit comments

Comments
 (0)