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 30
30
<fillField stepKey =" fillRuleName" selector =" {{AdminTaxRulesSection.ruleName}}" userInput =" SampleRule" />
31
31
32
32
<!-- Add NY and CA tax rules -->
33
- <actionGroup ref =" AddNewTaxRateNoZipActionGroup " stepKey =" addNYTaxRate" >
33
+ <actionGroup ref =" AddNewTaxRateNoZipUIActionGroup " stepKey =" addNYTaxRate" >
34
34
<argument name =" taxCode" value =" SimpleTaxNY" />
35
35
</actionGroup >
36
36
37
- <actionGroup ref =" AddNewTaxRateNoZipActionGroup " stepKey =" addCATaxRate" >
37
+ <actionGroup ref =" AddNewTaxRateNoZipUIActionGroup " stepKey =" addCATaxRate" >
38
38
<argument name =" taxCode" value =" SimpleTaxCA" />
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 =" seeSuccessMessageForSavingRule" />
42
43
43
44
<magentoCLI command =" cron:run --group=index" stepKey =" runCronIndexer" />
44
45
</before >
55
56
56
57
<!-- Delete the two tax rates that were created -->
57
58
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
58
- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
59
+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
59
60
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
60
61
</actionGroup >
61
62
62
63
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
63
- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
64
+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
64
65
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
65
66
</actionGroup >
66
67
Original file line number Diff line number Diff line change 30
30
<fillField stepKey =" fillRuleName" selector =" {{AdminTaxRulesSection.ruleName}}" userInput =" SampleRule" />
31
31
32
32
<!-- Add NY and CA tax rules -->
33
- <actionGroup ref =" AddNewTaxRateNoZipActionGroup " stepKey =" addNYTaxRate" >
33
+ <actionGroup ref =" AddNewTaxRateNoZipUIActionGroup " stepKey =" addNYTaxRate" >
34
34
<argument name =" taxCode" value =" SimpleTaxNY" />
35
35
</actionGroup >
36
36
37
- <actionGroup ref =" AddNewTaxRateNoZipActionGroup " stepKey =" addCATaxRate" >
37
+ <actionGroup ref =" AddNewTaxRateNoZipUIActionGroup " stepKey =" addCATaxRate" >
38
38
<argument name =" taxCode" value =" SimpleTaxCA" />
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 =" seeSuccessMessageForSavingRule" />
42
43
43
44
<magentoCLI command =" cron:run --group=index" stepKey =" runCronIndexer" />
44
45
</before >
55
56
56
57
<!-- Delete the two tax rates that were created -->
57
58
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteNYRate" >
58
- <argument name =" name" value =" {{SimpleTaxNY.state }}-{{SimpleTaxNY.rate}}" />
59
+ <argument name =" name" value =" {{SimpleTaxNY.identifier }}-{{SimpleTaxNY.rate}}" />
59
60
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
60
61
</actionGroup >
61
62
62
63
<actionGroup ref =" deleteEntitySecondaryGrid" stepKey =" deleteCARate" >
63
- <argument name =" name" value =" {{SimpleTaxCA.state }}-{{SimpleTaxCA.rate}}" />
64
+ <argument name =" name" value =" {{SimpleTaxCA.identifier }}-{{SimpleTaxCA.rate}}" />
64
65
<argument name =" searchInput" value =" {{AdminSecondaryGridSection.taxIdentifierSearch}}" />
65
66
</actionGroup >
66
67
You can’t perform that action at this time.
0 commit comments