Skip to content

Commit 1948699

Browse files
ACQE-8969: Create group product with tax
- Removed cache clean and updated data entities
1 parent 0463d94 commit 1948699

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

app/code/Magento/GroupedProduct/Test/Mftf/Test/AdminCreateGroupedProductWithUkTaxDisplayTest.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
<test name="AdminCreateGroupedProductWithUkTaxDisplayTest">
1212
<annotations>
1313
<features value="GroupedProduct"/>
14-
<features value="Tax"/>
1514
<stories value="Admin configures UK tax for grouped products"/>
1615
<title value="Create Grouped product with UK 20% tax"/>
1716
<description value="Creates grouped product, configures UK tax, enables inclusive/exclusive price display, verifies storefront visibility."/>
1817
<severity value="AVERAGE"/>
1918
<testCaseId value="AC-6363"/>
20-
<group value="grouped_product"/>
19+
<group value="GroupedProduct"/>
2120
<group value="tax"/>
2221
</annotations>
2322
<before>
@@ -56,7 +55,7 @@
5655
<magentoCLI command="config:set {{DefaultDisplayShippingPricesInCatalog.path}} {{DefaultDisplayShippingPricesInCatalog.value}}" stepKey="resetCatalogShipping"/>
5756
<magentoCLI command="config:set {{DefaultCartDisplayPrice.path}} {{DefaultCartDisplayPrice.value}}" stepKey="resetCartPrice"/>
5857
<magentoCLI command="config:set {{DefaultCartDisplaySubtotal.path}} {{DefaultCartDisplaySubtotal.value}}" stepKey="resetCartSubtotal"/>
59-
<magentoCLI command="config:set {{DefaultCartDisplayShipping.path}} {{DefaultCartDisplayShipping.value}}" stepKey="resetCartShipping"/>
58+
<magentoCLI command="config:set {{DisplayShippingAmountConfigData.path}} {{DisplayShippingAmountConfigData.value}}" stepKey="resetCartShipping"/>
6059
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="openTaxRuleGrid"/>
6160
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteUkTaxRule">
6261
<argument name="name" value="{{SimpleTaxRule.code}}"/>
@@ -102,10 +101,6 @@
102101
<argument name="qty" value="1"/>
103102
</actionGroup>
104103
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveGroupedProduct"/>
105-
<!-- Step 6: Run cache clean -->
106-
<actionGroup ref="CliCacheFlushActionGroup" stepKey="flushCacheAgain">
107-
<argument name="tags" value=""/>
108-
</actionGroup>
109104
<!-- Step 7: Navigate to the category the grouped product belongs to on frontend -->
110105
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStorefrontHome"/>
111106
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openCategory">

app/code/Magento/Tax/Test/Mftf/Data/TaxConfigData.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,4 @@
145145
<data key="path">tax/cart_display/subtotal</data>
146146
<data key="value">1</data>
147147
</entity>
148-
<entity name="DefaultCartDisplayShipping">
149-
<data key="path">tax/cart_display/shipping</data>
150-
<data key="value">1</data>
151-
</entity>
152148
</entities>

0 commit comments

Comments
 (0)