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 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!--
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+ */
77-->
88
99<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5151 <argument name =" taxCode" value =" SimpleTaxUKZeroRate" />
5252 </actionGroup >
5353 <actionGroup ref =" AddCustomerTaxClassActionGroup" stepKey =" addCustomerTaxClass" >
54- <argument name =" customerTaxClassName" value =" UK_zero " />
54+ <argument name =" customerTaxClassName" value =" {{UkCustomerTaxClass.taxClassName}} " />
5555 </actionGroup >
5656 <click stepKey =" disableDefaultProdTaxClass" selector =" {{AdminTaxRulesSection.defaultCustomerTaxClass}}" />
5757 <wait stepKey =" waitForDisableDefaultProdTaxClass" time =" 2" />
6161 <!-- Create a Customer Group (CUSTOMERS > Customer Groups)-->
6262 <actionGroup ref =" AdminCreateCustomerGroupActionGroup" stepKey =" createCustomerGroup" >
6363 <argument name =" groupName" value =" test_UK" />
64- <argument name =" taxClass" value =" UK_zero " />
64+ <argument name =" taxClass" value =" {{UkCustomerTaxClass.taxClassName}} " />
6565 </actionGroup >
6666
6767 <!-- Set Customer Create New Account Options Config-->
137137 <deleteData createDataKey =" createCategory" stepKey =" deleteCategoryFirst" />
138138
139139 <actionGroup ref =" DeleteProductTaxClassActionGroup" stepKey =" deleteFirstProductTaxClass" >
140- <argument name =" taxClassName" value =" UK_zero " />
140+ <argument name =" taxClassName" value =" {{UkCustomerTaxClass.taxClassName}} " />
141141 </actionGroup >
142142
143143 <actionGroup ref =" StorefrontCustomerLogoutActionGroup" stepKey =" logoutCustomer" />
You can’t perform that action at this time.
0 commit comments