Skip to content

Commit d2abc5e

Browse files
Merge branch 'ACQE-7906' into ACQE-functional-deployment-v7
2 parents a3cf612 + 16632e6 commit d2abc5e

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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>

app/code/Magento/Customer/Test/Mftf/Test/StorefrontCheckTaxAddingValidVATIdTest.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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"
@@ -51,7 +51,7 @@
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"/>
@@ -61,7 +61,7 @@
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-->
@@ -137,7 +137,7 @@
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" />

0 commit comments

Comments
 (0)