File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright 2025 Adobe
5
+ * All Rights Reserved.
6
+ */
7
+ -->
8
+
9
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" UkCustomerTaxClass" type =" customerGroup" >
12
+ <data key =" taxClassName" unique =" suffix" >UkCustomer-</data >
13
+ </entity >
14
+ </entities >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
- /**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
6
- */
3
+ /**
4
+ * Copyright 2018 Adobe
5
+ * All Rights Reserved .
6
+ */
7
7
-->
8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
51
51
<argument name =" taxCode" value =" SimpleTaxUKZeroRate" />
52
52
</actionGroup >
53
53
<actionGroup ref =" AddCustomerTaxClassActionGroup" stepKey =" addCustomerTaxClass" >
54
- <argument name =" customerTaxClassName" value =" UK_zero " />
54
+ <argument name =" customerTaxClassName" value =" {{UkCustomerTaxClass.taxClassName}} " />
55
55
</actionGroup >
56
56
<click stepKey =" disableDefaultProdTaxClass" selector =" {{AdminTaxRulesSection.defaultCustomerTaxClass}}" />
57
57
<wait stepKey =" waitForDisableDefaultProdTaxClass" time =" 2" />
61
61
<!-- Create a Customer Group (CUSTOMERS > Customer Groups)-->
62
62
<actionGroup ref =" AdminCreateCustomerGroupActionGroup" stepKey =" createCustomerGroup" >
63
63
<argument name =" groupName" value =" test_UK" />
64
- <argument name =" taxClass" value =" UK_zero " />
64
+ <argument name =" taxClass" value =" {{UkCustomerTaxClass.taxClassName}} " />
65
65
</actionGroup >
66
66
67
67
<!-- Set Customer Create New Account Options Config-->
137
137
<deleteData createDataKey =" createCategory" stepKey =" deleteCategoryFirst" />
138
138
139
139
<actionGroup ref =" DeleteProductTaxClassActionGroup" stepKey =" deleteFirstProductTaxClass" >
140
- <argument name =" taxClassName" value =" UK_zero " />
140
+ <argument name =" taxClassName" value =" {{UkCustomerTaxClass.taxClassName}} " />
141
141
</actionGroup >
142
142
143
143
<actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" logoutCustomer" />
You can’t perform that action at this time.
0 commit comments