File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
app/code/Magento/Tax/Test/Mftf/Test/StorefrontTaxQuoteCartTest Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 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 >
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
Original file line number Diff line number Diff line change 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 >
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
You can’t perform that action at this time.
0 commit comments