File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
9
- <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
11
<test name =" AdminPanelIsFrozenIfStorefrontIsOpenedViaCustomerViewTest" >
12
12
<annotations >
19
19
<group value =" customer" />
20
20
</annotations >
21
21
<before >
22
+ <!-- Enable flat rate shipping-->
23
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
22
24
<createData entity =" Simple_US_Customer" stepKey =" simpleCustomer" />
23
25
<createData entity =" SimpleSubCategory" stepKey =" createSimpleCategory" />
24
26
<createData entity =" SimpleProduct" stepKey =" createSimpleProduct" >
27
29
<comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" login" />
28
30
</before >
29
31
<after >
32
+ <!-- Disable shipping method for customer with default address -->
33
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
30
34
<deleteData createDataKey =" createSimpleCategory" stepKey =" deleteCategory" />
31
35
<deleteData createDataKey =" createSimpleProduct" stepKey =" deleteSimpleProduct" />
32
36
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
Original file line number Diff line number Diff line change 18
18
<group value =" sales" />
19
19
</annotations >
20
20
<before >
21
+ <!-- Enable flat rate shipping-->
22
+ <magentoCLI command =" config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey =" enableFlatRate" />
21
23
<actionGroup ref =" EnableAdminAccountSharingActionGroup" stepKey =" enableAdminAccountSharing" />
22
24
<createData entity =" EnabledMinimumOrderAmount500" stepKey =" enableMinimumOrderAmount" />
23
25
<createData entity =" SimpleSubCategory" stepKey =" createCategory" />
28
30
<actionGroup ref =" ClearCacheActionGroup" stepKey =" clearCacheBefore" />
29
31
</before >
30
32
<after >
33
+ <!-- Disable shipping method for customer with default address -->
34
+ <magentoCLI command =" config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey =" disableFlatRate" />
31
35
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
32
36
<deleteData createDataKey =" createProduct" stepKey =" deleteProduct" />
33
37
<createData entity =" DisabledMinimumOrderAmount" stepKey =" disableMinimumOrderAmount" />
You can’t perform that action at this time.
0 commit comments