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 20
20
<click stepKey =" addNewTaxRate" selector =" {{AdminTaxRulesSection.addNewTaxRate}}" />
21
21
22
22
<!-- 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}}" />
24
24
<fillField stepKey =" fillZipCode" selector =" {{AdminTaxRulesSection.zipCode}}" userInput =" {{taxCode.zip}}" />
25
25
<selectOption stepKey =" selectState" selector =" {{AdminTaxRulesSection.state}}" userInput =" {{taxCode.state}}" />
26
26
<selectOption stepKey =" selectCountry" selector =" {{AdminTaxRulesSection.country}}" userInput =" {{taxCode.country}}" />
Original file line number Diff line number Diff line change 21
21
<data key =" rate" >0</data >
22
22
</entity >
23
23
<entity name =" SimpleTaxNY" type =" tax" >
24
+ <data key =" identifier" unique =" suffix" >New York</data >
24
25
<data key =" state" >New York</data >
25
26
<data key =" country" >United States</data >
26
27
<data key =" zip" >*</data >
33
34
<data key =" rate" >20.00</data >
34
35
</entity >
35
36
<entity name =" SimpleTaxCA" type =" tax" >
37
+ <data key =" identifier" unique =" suffix" >California</data >
36
38
<data key =" state" >California</data >
37
39
<data key =" country" >United States</data >
38
40
<data key =" zip" >*</data >
Original file line number Diff line number Diff line change 39
39
</actionGroup >
40
40
41
41
<click stepKey =" clickSave" selector =" {{AdminStoresMainActionsSection.saveButton}}" />
42
+ <see userInput =" You saved the tax rule." selector =" {{AdminMessagesSection.success}}" stepKey =" seeSuccessMessgaeForSavingRule" />
42
43
<magentoCLI command =" cron:run --group=index" stepKey =" runCronIndexer" />
43
44
44
45
<!-- Fill out form for a new user with address -->
69
70
70
71
<!-- Delete the two tax rates that were created -->
71
72
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
72
- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
73
+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
73
74
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
74
75
</actionGroup >
75
76
76
77
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
77
- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
78
+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
78
79
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
79
80
</actionGroup >
80
81
Original file line number Diff line number Diff line change 39
39
</actionGroup >
40
40
41
41
<click stepKey =" clickSave" selector =" {{AdminStoresMainActionsSection.saveButton}}" />
42
+ <see userInput =" You saved the tax rule." selector =" {{AdminMessagesSection.success}}" stepKey =" seeSuccessMessgaeForSavingRule" />
42
43
43
44
<!-- Fill out form for a new user with address -->
44
45
<actionGroup ref =" StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey =" openCreateAccountPage" />
68
69
69
70
<!-- Delete the two tax rates that were created -->
70
71
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
71
- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
72
+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
72
73
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
73
74
</actionGroup >
74
75
75
76
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
76
- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
77
+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
77
78
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
78
79
</actionGroup >
79
80
You can’t perform that action at this time.
0 commit comments