File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
app/code/Magento/Tax/Test/Mftf
Test/StorefrontTaxQuoteCartTest Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2020 <click stepKey =" addNewTaxRate" selector =" {{AdminTaxRulesSection.addNewTaxRate}}" />
2121
2222 <!-- Fill out a new tax rate -->
23- <fillField stepKey =" fillTaxIdentifier" selector =" {{AdminTaxRulesSection.taxIdentifier}}" userInput =" {{taxCode.state }}-{{taxCode.rate}}" />
23+ <fillField stepKey =" fillTaxIdentifier" selector =" {{AdminTaxRulesSection.taxIdentifier}}" userInput =" {{taxCode.identifier }}-{{taxCode.rate}}" />
2424 <fillField stepKey =" fillZipCode" selector =" {{AdminTaxRulesSection.zipCode}}" userInput =" {{taxCode.zip}}" />
2525 <selectOption stepKey =" selectState" selector =" {{AdminTaxRulesSection.state}}" userInput =" {{taxCode.state}}" />
2626 <selectOption stepKey =" selectCountry" selector =" {{AdminTaxRulesSection.country}}" userInput =" {{taxCode.country}}" />
Original file line number Diff line number Diff line change 2121 <data key =" rate" >0</data >
2222 </entity >
2323 <entity name =" SimpleTaxNY" type =" tax" >
24+ <data key =" identifier" unique =" suffix" >New York</data >
2425 <data key =" state" >New York</data >
2526 <data key =" country" >United States</data >
2627 <data key =" zip" >*</data >
3334 <data key =" rate" >20.00</data >
3435 </entity >
3536 <entity name =" SimpleTaxCA" type =" tax" >
37+ <data key =" identifier" unique =" suffix" >California</data >
3638 <data key =" state" >California</data >
3739 <data key =" country" >United States</data >
3840 <data key =" zip" >*</data >
Original file line number Diff line number Diff line change 3939 </actionGroup >
4040
4141 <click stepKey =" clickSave" selector =" {{AdminStoresMainActionsSection.saveButton}}" />
42+ <see userInput =" You saved the tax rule." selector =" {{AdminMessagesSection.success}}" stepKey =" seeSuccessMessgaeForSavingRule" />
4243 <magentoCLI command =" cron:run --group=index" stepKey =" runCronIndexer" />
4344
4445 <!-- Fill out form for a new user with address -->
6970
7071 <!-- Delete the two tax rates that were created -->
7172 <actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
72- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
73+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
7374 <argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
7475 </actionGroup >
7576
7677 <actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
77- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
78+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
7879 <argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
7980 </actionGroup >
8081
Original file line number Diff line number Diff line change 3939 </actionGroup >
4040
4141 <click stepKey =" clickSave" selector =" {{AdminStoresMainActionsSection.saveButton}}" />
42+ <see userInput =" You saved the tax rule." selector =" {{AdminMessagesSection.success}}" stepKey =" seeSuccessMessgaeForSavingRule" />
4243
4344 <!-- Fill out form for a new user with address -->
4445 <actionGroup ref =" StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey =" openCreateAccountPage" />
6869
6970 <!-- Delete the two tax rates that were created -->
7071 <actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
71- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
72+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
7273 <argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
7374 </actionGroup >
7475
7576 <actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
76- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
77+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
7778 <argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
7879 </actionGroup >
7980
You can’t perform that action at this time.
0 commit comments