Skip to content

Commit ae800e4

Browse files
committed
Merge branch 'ACQE-6423' into ACQE-functional-mainline-deployment_Ver1
2 parents 068183a + 5ac6c94 commit ae800e4

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

app/code/Magento/Tax/Test/Mftf/Test/ApplyTaxesAndFptForSimpleProductWithCanadianPstOriginTest.xml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
<severity value="MAJOR"/>
1818
<testCaseId value="AC-4061"/>
1919
<group value="tax_isolated" />
20-
<!-- Will be fixed in the scope of ACQE-6423 -->
21-
<group value="pr_exclude" />
2220
</annotations>
2321
<before>
2422
<!-- Create a new user with canadian address -->
@@ -125,32 +123,16 @@
125123
<!-- delete created Two Tax Rates & Rules -->
126124
<!-- delete first tax rule and rate -->
127125
<!--Go to the tax rule page and delete the row created-->
128-
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToTaxRulesPage"/>
129-
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteFirstRule">
130-
<argument name="name" value="Canada-GST-5%"/>
131-
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
126+
<actionGroup ref="AdminDeleteTaxRule" stepKey="deleteTaxRule">
127+
<argument name="taxRuleCode" value="Canada-GST-5%" />
132128
</actionGroup>
133-
<!-- Go to the tax rate page -->
134-
<actionGroup ref="AdminTaxRateGridOpenPageActionGroup" stepKey="goToTaxRatesPage"/>
135-
<!-- Delete the tax rate that was created -->
136-
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteTaxRate">
137-
<argument name="name" value="Canada-GST-5%"/>
138-
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
129+
<actionGroup ref="AdminDeleteTaxRule" stepKey="deleteSecondRule">
130+
<argument name="taxRuleCode" value="Canada-GST-PST-5%" />
139131
</actionGroup>
140-
<!-- delete second tax rule and rate -->
141-
<!--Go to the tax rule page and delete the row created-->
142-
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToSecondTaxRulesPage"/>
143-
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteSecondRule">
144-
<argument name="name" value="Canada-GST-PST-5%"/>
145-
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
146-
</actionGroup>
147-
<!-- Go to the tax rate page -->
148-
<actionGroup ref="AdminTaxRateGridOpenPageActionGroup" stepKey="goToSecondTaxRatesPage"/>
149-
<!-- Delete the tax rate that was created -->
150-
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteSecondTaxRate">
151-
<argument name="name" value="Canada-GST-PST-5%"/>
152-
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
132+
<actionGroup ref="AdminDeleteMultipleTaxRatesActionGroup" stepKey="deleteAllNonDefaultTaxRates">
133+
<argument name="expectedRemainingRows" value="0"/>
153134
</actionGroup>
135+
154136
<!-- Reset shipping origin -->
155137
<actionGroup ref="AdminResetShippingOriginConfigurationActionGroup" stepKey="ResetCaliforniaShippingOrigin"/>
156138
<!-- delete created attribute category and simple product -->

0 commit comments

Comments
 (0)