Skip to content

Commit 92392b5

Browse files
committed
MAGETWO-91436: Custom Options are corruputed when saving product to a different website
- restoring productStatus identifier
1 parent 2136fca commit 92392b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/Test/ConfigurableProductPriceAdditionalStoreViewTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="disableProductForAllStoreView"/>
102102
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton2"/>
103103
<waitForLoadingMaskToDisappear stepKey="waitForProductPageSave1" />
104-
<dontSeeCheckboxIsChecked selector="{{AdminProductFormSection.enableProduct}}" stepKey="dontSeeCheckboxEnableProductIsChecked"/>
104+
<dontSeeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="dontSeeCheckboxEnableProductIsChecked"/>
105105

106106
<!-- Disable each of the child products for All Store views -->
107107
<click selector="{{AdminProductFormConfigurationsSection.actionsBtn('1')}}" stepKey="clickToExpandActionsForFirstVariation1"/>
@@ -128,7 +128,7 @@
128128
<!-- enable the config product for the second store -->
129129
<waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSlider"/>
130130
<click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="enableProductForSecondStoreView"/>
131-
<seeCheckboxIsChecked selector="{{AdminProductFormSection.enableProduct}}" stepKey="seeThatProductIsEnabled"/>
131+
<seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProductIsEnabled"/>
132132
<actionGroup ref="AdminFormSaveAndClose" stepKey="enabledConfigProductSecondStore"/>
133133

134134
<!--go to admin and open product edit page to enable child product for second store view -->
@@ -170,7 +170,7 @@
170170
<see userInput="Second Store View" selector="{{AdminMainActionsSection.storeSwitcher}}" stepKey="seeNewStoreViewNameP1"/>
171171
<waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSliderP1"/>
172172
<click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="enableProductForSecondStoreViewP1"/>
173-
<seeCheckboxIsChecked selector="{{AdminProductFormSection.enableProduct}}" stepKey="seeThatProduct1IsEnabled"/>
173+
<seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProduct1IsEnabled"/>
174174
<actionGroup ref="AdminFormSaveAndClose" stepKey="save2UpdatedChild1"/>
175175

176176
<!--go to admin and open child product2 edit page and assign it to the second website -->
@@ -190,7 +190,7 @@
190190
<see userInput="Second Store View" selector="{{AdminMainActionsSection.storeSwitcher}}" stepKey="seeNewStoreViewNameP2"/>
191191
<waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSliderP2"/>
192192
<click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="enableProductForSecondStoreViewP2"/>
193-
<seeCheckboxIsChecked selector="{{AdminProductFormSection.enableProduct}}" stepKey="seeThatProduct2IsEnabled"/>
193+
<seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProduct2IsEnabled"/>
194194
<actionGroup ref="AdminFormSaveAndClose" stepKey="save2UpdatedChild2"/>
195195

196196
<!-- assert storefront category list page -->

0 commit comments

Comments
 (0)