File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
app/code/Magento/Tax/Test/Mftf Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ Test/etc/actionGroupSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: Test/etc/actionGroupSchema.xsd" >
11
11
<!-- Change the tax configuration to display in cart and checkout flow -->
12
12
<actionGroup name =" editTaxConfigurationByUI" >
13
13
<!-- navigate to the tax configuration page -->
130
130
<argument name =" taxClassName" type =" string" />
131
131
</arguments >
132
132
<!-- Go to tax rule page -->
133
- <amOnPage url =" /admin/tax/rule/new " stepKey =" goToNewTaxRulePage" />
133
+ <amOnPage url =" {{AdminNewTaxRulePage.url}} " stepKey =" goToNewTaxRulePage" />
134
134
<waitForPageLoad stepKey =" waitForTaxRatePage" />
135
135
<click stepKey =" clickAdditionalSettings" selector =" {{AdminTaxRulesSection.additionalSettings}}" />
136
136
<scrollTo stepKey =" scrollToAdditionalSettings" selector =" {{AdminTaxRulesSection.additionalSettings}}" />
137
137
<moveMouseOver stepKey =" hoverDeleteElement" selector =" {{AdminTaxRulesSection.deleteTaxClassName(taxClassName)}}" />
138
138
<click stepKey =" deleteFirstTaxClass" selector =" {{AdminTaxRulesSection.deleteTaxClass(taxClassName)}}" />
139
+ <waitForElementVisible selector =" {{AdminTaxRulesSection.popUpDialogOK}}" stepKey =" waitForElementBecomeVisible" />
139
140
<click stepKey =" acceptPopUpDialog" selector =" {{AdminTaxRulesSection.popUpDialogOK}}" />
140
141
<waitForPageLoad stepKey =" waitForProductTaxClassDeleted" />
141
142
</actionGroup >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../dev/tests/acceptance/vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ DataGenerator/etc/dataProfileSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: DataGenerator/etc/dataProfileSchema.xsd" >
11
11
<entity name =" SimpleTaxNY" type =" tax" >
12
12
<data key =" state" >New York</data >
13
13
<data key =" country" >United States</data >
29
29
<entity name =" SimpleTaxWithZipCode" type =" tax" >
30
30
<data key =" state" >California</data >
31
31
<data key =" country" >United States</data >
32
- <data key =" zip" >35005 </data >
32
+ <data key =" zip" >78729 </data >
33
33
<data key =" rate" >7.25</data >
34
34
</entity >
35
35
<entity name =" SimpleSecondTaxWithZipCode" type =" tax" >
36
36
<data key =" state" >California</data >
37
37
<data key =" country" >United States</data >
38
- <data key =" zip" >35005 </data >
38
+ <data key =" zip" >78729 </data >
39
39
<data key =" rate" >0.125</data >
40
40
</entity >
41
41
</entities >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" ../../../../../../../vendor/ magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/ Test/etc/testSchema.xsd" >
10
+ xsi : noNamespaceSchemaLocation =" urn: magento:mftf: Test/etc/testSchema.xsd" >
11
11
<test name =" AdminTaxReportGridTest" >
12
12
<annotations >
13
13
<features value =" Tax" />
You can’t perform that action at this time.
0 commit comments