Skip to content

Commit 95b31a2

Browse files
pavanpavan
authored andcommitted
changed action group to create tax rate & tax rule
1 parent 5c1f2c1 commit 95b31a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/GuestCheckoutUsingPayPalExpressCheckoutTest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
</actionGroup>
3333
<!-- Create Tax Rule & Tax Rate -->
3434
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToTaxRuleForPage"/>
35-
<actionGroup ref="AdminAddTaxRuleActionGroup" stepKey="addTaxRulePageForProductTax">
36-
<argument name="ruleName" value="Product"/>
37-
</actionGroup>
35+
<!--Add new tax rates. Go to tax rule page -->
36+
<actionGroup ref="AddNewTaxRuleActionGroup" stepKey="addFirstTaxRuleActionGroup"/>
37+
<fillField stepKey="fillRuleName" selector="{{AdminTaxRulesSection.ruleName}}" userInput="{{TaxRule.name}}"/>
3838
<!-- Adding product rate tax for NY -->
3939
<actionGroup ref="AddNewTaxRateNoZipUIActionGroup" stepKey="addProductTaxRateForCA">
4040
<argument name="taxCode" value="SimpleTaxTexas"/>
@@ -58,8 +58,8 @@
5858
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
5959
<!-- Go to the tax rule page and delete the row created-->
6060
<actionGroup ref="AdminTaxRuleGridOpenPageActionGroup" stepKey="goToTaxRulesPageA"/>
61-
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteProductTaxRule">
62-
<argument name="name" value="Product"/>
61+
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteRule">
62+
<argument name="name" value="{{TaxRule.name}}"/>
6363
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
6464
</actionGroup>
6565
<!-- Deleting Tax zones and rate for Product Tax -->
@@ -68,7 +68,7 @@
6868
<argument name="submenuUiId" value="{{AdminMenuStoresTaxZonesAndRates.dataUiId}}"/>
6969
</actionGroup>
7070
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteProductTaxRule1">
71-
<argument name="name" value="{{SimpleTaxTexas.state}}-{{SimpleTaxTexas.rate}}"/>
71+
<argument name="name" value="{{SimpleTaxTexas.identifier}}-{{SimpleTaxTexas.rate}}"/>
7272
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
7373
</actionGroup>
7474
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>

0 commit comments

Comments
 (0)