Skip to content

Commit 2c6e125

Browse files
authored
Update StorefrontTaxQuoteCartGuestVirtualTest.xml
1 parent 7ff50b7 commit 2c6e125

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/code/Magento/Tax/Test/Mftf/Test/StorefrontTaxQuoteCartTest/StorefrontTaxQuoteCartGuestVirtualTest.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@
3030
<fillField stepKey="fillRuleName" selector="{{AdminTaxRulesSection.ruleName}}" userInput="SampleRule"/>
3131

3232
<!-- Add NY and CA tax rules -->
33-
<actionGroup ref="AddNewTaxRateNoZipActionGroup" stepKey="addNYTaxRate">
33+
<actionGroup ref="AddNewTaxRateNoZipUIActionGroup" stepKey="addNYTaxRate">
3434
<argument name="taxCode" value="SimpleTaxNY"/>
3535
</actionGroup>
3636

37-
<actionGroup ref="AddNewTaxRateNoZipActionGroup" stepKey="addCATaxRate">
37+
<actionGroup ref="AddNewTaxRateNoZipUIActionGroup" stepKey="addCATaxRate">
3838
<argument name="taxCode" value="SimpleTaxCA"/>
3939
</actionGroup>
4040

4141
<click stepKey="clickSave" selector="{{AdminStoresMainActionsSection.saveButton}}"/>
42+
<see userInput="You saved the tax rule." selector="{{AdminMessagesSection.success}}" stepKey="seeSuccessMessageForSavingRule"/>
4243

4344
<magentoCLI command="cron:run --group=index" stepKey="runCronIndexer"/>
4445
</before>
@@ -55,12 +56,12 @@
5556

5657
<!-- Delete the two tax rates that were created -->
5758
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteNYRate">
58-
<argument name="name" value="{{SimpleTaxNY.state}}-{{SimpleTaxNY.rate}}"/>
59+
<argument name="name" value="{{SimpleTaxNY.identifier}}-{{SimpleTaxNY.rate}}"/>
5960
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
6061
</actionGroup>
6162

6263
<actionGroup ref="deleteEntitySecondaryGrid" stepKey="deleteCARate">
63-
<argument name="name" value="{{SimpleTaxCA.state}}-{{SimpleTaxCA.rate}}"/>
64+
<argument name="name" value="{{SimpleTaxCA.identifier}}-{{SimpleTaxCA.rate}}"/>
6465
<argument name="searchInput" value="{{AdminSecondaryGridSection.taxIdentifierSearch}}"/>
6566
</actionGroup>
6667

0 commit comments

Comments
 (0)