Skip to content

Commit 644aabc

Browse files
committed
MAGETWO-91434: Default option for Status attribute not being set
- addressed CR comments
1 parent eaf8caa commit 644aabc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Section/AdminProductFormSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<section name="AdminProductFormSection">
1111
<element name="productName" type="input" selector=".admin__field[data-index=name] input"/>
1212
<element name="productSku" type="input" selector=".admin__field[data-index=sku] input"/>
13-
<element name="enableProduct" type="checkbox" selector="input[name='product[status]']"/>
13+
<element name="productStatus" type="checkbox" selector="input[name='product[status]']"/>
1414
<element name="productPrice" type="input" selector=".admin__field[data-index=price] input"/>
1515
<element name="advancedPricingLink" type="button" selector="button[data-index='advanced_pricing_button']"/>
1616
<element name="categoriesDropdown" type="multiselect" selector="div[data-index='category_ids']"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminProductStatusAttributeDisabledByDefaultTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickOnAddProductDropdown"/>
5252
<click selector="{{AdminProductGridActionSection.addSimpleProduct}}" stepKey="clickOnAddSimpleProduct"/>
5353
<waitForPageLoad stepKey="waitForProductEditToLoad"/>
54-
<dontSeeCheckboxIsChecked selector="{{AdminProductFormSection.enableProduct}}" stepKey="dontSeeCheckboxEnableProductIsChecked"/>
54+
<dontSeeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="dontSeeCheckboxEnableProductIsChecked"/>
5555

5656
</test>
5757
</tests>

0 commit comments

Comments
 (0)