Skip to content

Commit 10e2aeb

Browse files
Sahil.kumarManjusha.S
authored andcommitted
Updated assert value and stepkey name
1 parent c084ea4 commit 10e2aeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/ChangeScopeForProductStatusAttributeTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@
109109
<actionGroup ref="SaveProductFormActionGroup" stepKey="clickSaveProduct"/>
110110

111111
<!--Switch to Store view 2 -->
112-
<actionGroup ref="SwitchToTheNewStoreViewActionGroup" stepKey="SwitchNewStoreView2">
112+
<actionGroup ref="SwitchToTheNewStoreViewActionGroup" stepKey="SwitchNewStoreView2AndAssertTheProductStatus">
113113
<argument name="storeViewName" value="{{storeViewData2.name}}"/>
114114
</actionGroup>
115115

116116
<!-- Verify that product is disable -->
117-
<seeElement selector="{{AdminProductFormSection.productStatusValue('0')}}" stepKey="assertThatProductSetToDisabled"/>
117+
<seeElement selector="{{AdminProductFormSection.productStatusValue('2')}}" stepKey="assertThatProductSetToDisabled"/>
118118

119119
<!-- Enable the product for the second storeview -->
120120
<waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSlider"/>

0 commit comments

Comments
 (0)