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 20
20
<group value =" mtf_migrated" />
21
21
</annotations >
22
22
<before >
23
+ <!-- Enable flat rate shipping-->
24
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
23
25
<magentoCLI command =" config:set checkout/options/enable_agreements 1" stepKey =" setEnableTermsOnCheckout" />
24
26
25
27
<createData entity =" Simple_US_Customer_Multiple_Addresses" stepKey =" createdCustomer" />
30
32
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
31
33
</before >
32
34
<after >
35
+ <!-- Disable shipping method for customer with default address -->
36
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
33
37
<magentoCLI command =" config:set checkout/options/enable_agreements 0" stepKey =" setDisableTermsOnCheckout" />
34
38
35
39
<deleteData createDataKey =" createdCustomer" stepKey =" deletedCustomer" />
Original file line number Diff line number Diff line change 19
19
</annotations >
20
20
21
21
<before >
22
+ <!-- Enable flat rate shipping-->
23
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
22
24
<!-- Create Simple Product -->
23
25
<createData entity =" defaultSimpleProduct" stepKey =" createSimpleProduct" />
24
26
<!-- Create Cart Price Rule without discount but with free shipping -->
35
37
</before >
36
38
37
39
<after >
40
+ <!-- Disable shipping method for customer with default address -->
41
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
38
42
<actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" logoutFromStorefront" />
39
43
<deleteData createDataKey =" createCartPriceRule" stepKey =" deleteSalesRule" />
40
44
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
You can’t perform that action at this time.
0 commit comments