File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
CheckoutAgreements/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2020 <group value =" mtf_migrated" />
2121 </annotations >
2222 <before >
23+ <!-- Enable flat rate shipping-->
24+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
2325 <magentoCLI command =" config:set checkout/options/enable_agreements 1" stepKey =" setEnableTermsOnCheckout" />
2426
2527 <createData entity =" Simple_US_Customer_Multiple_Addresses" stepKey =" createdCustomer" />
3032 <actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
3133 </before >
3234 <after >
35+ <!-- Disable shipping method for customer with default address -->
36+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
3337 <magentoCLI command =" config:set checkout/options/enable_agreements 0" stepKey =" setDisableTermsOnCheckout" />
3438
3539 <deleteData createDataKey =" createdCustomer" stepKey =" deletedCustomer" />
Original file line number Diff line number Diff line change 1919 </annotations >
2020
2121 <before >
22+ <!-- Enable flat rate shipping-->
23+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
2224 <!-- Create Simple Product -->
2325 <createData entity =" defaultSimpleProduct" stepKey =" createSimpleProduct" />
2426 <!-- Create Cart Price Rule without discount but with free shipping -->
3537 </before >
3638
3739 <after >
40+ <!-- Disable shipping method for customer with default address -->
41+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
3842 <actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" logoutFromStorefront" />
3943 <deleteData createDataKey =" createCartPriceRule" stepKey =" deleteSalesRule" />
4044 <deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
You can’t perform that action at this time.
0 commit comments