File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 106
106
107
107
<!-- Change status of product to "Disable" and save it -->
108
108
<actionGroup ref =" AdminSetProductDisabledActionGroup" stepKey =" disableProduct" />
109
- <actionGroup ref =" SaveProductFormActionGroup" stepKey =" clickSaveProduct1 " />
109
+ <actionGroup ref =" SaveProductFormActionGroup" stepKey =" clickSaveProduct " />
110
110
111
111
<!-- Switch to Store view 2 -->
112
112
<actionGroup ref =" SwitchToTheNewStoreViewActionGroup" stepKey =" SwitchNewStoreView2" >
113
113
<argument name =" storeViewName" value =" {{storeViewData2.name}}" />
114
114
</actionGroup >
115
115
116
+ <!-- Verify that product is disable -->
117
+ <seeElement selector =" {{AdminProductFormSection.productStatusValue('0')}}" stepKey =" assertThatProductSetToDisabled" />
118
+
116
119
<!-- Enable the product for the second storeview -->
117
120
<waitForElementVisible selector =" {{AdminProductFormSection.enableProductLabel}}" stepKey =" waitForProductEnableSlider" />
118
121
<actionGroup ref =" ToggleProductEnabledActionGroup" stepKey =" enableProduct" />
126
129
</actionGroup >
127
130
128
131
<!-- Verify that product is enable -->
129
- <seeElement selector =" {{AdminProductFormSection.productStatusValue('1')}}" stepKey =" assertThatProductSetToEnabled2 " />
132
+ <seeElement selector =" {{AdminProductFormSection.productStatusValue('1')}}" stepKey =" assertThatProductSetToEnabledAgain " />
130
133
</test >
131
134
</tests >
You can’t perform that action at this time.
0 commit comments