Skip to content

Commit 54378d7

Browse files
committed
AC-3201: Fixing Mftf - StoreFrontZeroTaxSettingCheckOnCartPage
1 parent 686e857 commit 54378d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Tax/Test/Mftf/ActionGroup/ZeroTaxSubtotalActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</arguments>
1818
<amOnPage url="{{AdminTaxConfigurationPage.url}}" stepKey="navigateToAdminStoreTaxConfiguration"/>
1919
<scrollTo selector="{{AdminZeroTaxFormSection.label}}" stepKey="scrollToDropdownSelection" />
20-
<uncheckOption selector="{{AdminZeroTaxFormSection.systemValueCheckbox}}" stepKey="uncheckCheckBox" />
20+
<uncheckOption selector="{{AdminZeroTaxFormSection.systemValueCheckbox}}" stepKey="uncheckBox" />
2121
<selectOption selector="{{AdminZeroTaxFormSection.optionvalue}}" userInput="{{optionValue}}" stepKey="setSelectorValue"/>
2222
<waitForElementVisible selector="{{AdminZeroTaxFormSection.label}}" stepKey="waitForElement"/>
2323
<click selector="{{AdminZeroTaxFormSection.saveConfig}}" stepKey="clickSave"/>

app/code/Magento/Tax/Test/Mftf/Section/AdminZeroTaxFormSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="AdminZeroTaxFormSection">
12-
<element name="systemValueCheckbox" type="checkbox" selector="#tax_cart_display_zero_tax_inherit"/>
12+
<element name="systemValueCheckbox" type="checkbox" selector="//input[@name='groups[cart_display][fields][zero_tax][inherit]']"/>
1313
<element name="optionvalue" type="select" selector="select#tax_cart_display_zero_tax"/>
1414
<element name="saveConfig" type="button" selector="#save" timeout="30"/>
1515
<element name="label" type="input" selector="#row_tax_cart_display_zero_tax"/>

0 commit comments

Comments
 (0)