Skip to content

Commit 56be425

Browse files
committed
MC-5319: Create tax rate, zip code range. Addressing code review comments.
1 parent 6f7e4de commit 56be425

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/code/Magento/Tax/Test/Mftf/Section/AdminTaxRateGridSection.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@
1616
<element name="filterByCountry" type="input" selector="#tax_rate_grid_filter_tax_country_id"/>
1717
<element name="filterByPostCode" type="input" selector="#tax_rate_grid_filter_tax_postcode"/>
1818
<element name="nthRow" type="block" selector="tr[data-role='row']:nth-of-type({{var}})" parameterized="true" timeout="30"/>
19-
<element name="country" type="select" selector="#tax_rate_grid_filter_tax_country_id"/>
20-
<element name="zipCode" type="text" selector="#tax_rate_grid_filter_tax_postcode"/>
2119
</section>
2220
</sections>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<!-- Create a tax rate for zipCodeRange and verify we see expected values on the tax rate grid page -->
5151
<click selector="{{AdminDataGridHeaderSection.clearFilters}}" stepKey="clickClearFilters2"/>
5252
<fillField selector="{{AdminTaxRateGridSection.filterByTaxIdentifier}}" userInput="{{SimpleTaxRate.code}}" stepKey="fillTaxIdentifierField2"/>
53-
<selectOption selector="{{AdminTaxRateGridSection.country}}" userInput="United States" stepKey="selectCountry2" />
54-
<fillField selector="{{AdminTaxRateGridSection.zipCode}}" userInput="90001-96162" stepKey="seeTaxPostCode1"/>
53+
<selectOption selector="{{AdminTaxRateGridSection.filterByCountry}}" userInput="United States" stepKey="selectCountry2" />
54+
<fillField selector="{{AdminTaxRateGridSection.filterByPostCode}}" userInput="90001-96162" stepKey="seeTaxPostCode1"/>
5555
<click selector="{{AdminTaxRateGridSection.search}}" stepKey="clickSearch2"/>
5656
<click selector="{{AdminTaxRateGridSection.nthRow('1')}}" stepKey="clickFirstRow3"/>
5757
<!-- Verify we see expected values on the tax rate form page -->

0 commit comments

Comments
 (0)