File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminConfigurableProductUpdateTest Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 92
92
<argument name =" productId" value =" $$createConfigProduct.id$$" />
93
93
</actionGroup >
94
94
<waitForPageLoad stepKey =" wait2" />
95
- <see selector =" {{AdminProductFormConfigurationsSection.currentVariationsNameCells}}" userInput =" $$createConfigChildProduct1.name$$" stepKey =" seeOption1Admin" />
96
- <see selector =" {{AdminProductFormConfigurationsSection.currentVariationsNameCells}}" userInput =" $$createConfigChildProduct2.name$$" stepKey =" seeOption2Admin" />
95
+ <actionGroup ref =" AssertAdminChildProductDataOnParentProductEditPageActionGroup" stepKey =" seeOption1Admin" >
96
+ <argument name =" attribute" value =" name_container" />
97
+ <argument name =" value" value =" $$createConfigChildProduct1.name$$" />
98
+ </actionGroup >
99
+ <actionGroup ref =" AssertAdminChildProductDataOnParentProductEditPageActionGroup" stepKey =" seeOption2Admin" >
100
+ <argument name =" attribute" value =" name_container" />
101
+ <argument name =" value" value =" $$createConfigChildProduct2.name$$" />
102
+ </actionGroup >
97
103
98
104
<!-- remove an option-->
99
105
<click selector =" {{AdminProductFormConfigurationsSection.actionsBtn('1')}}" stepKey =" clickToExpandActions" />
109
115
</actionGroup >
110
116
<comment userInput =" Comment is added to preserve the step key for backward compatibility" stepKey =" wait4" />
111
117
<dontSee selector =" {{StorefrontProductInfoMainSection.productAttributeOptions1}}" userInput =" option1" stepKey =" dontSeeOption1InStorefront" />
112
- <see selector =" {{StorefrontProductInfoMainSection.productAttributeOptions1}}" userInput =" option2" stepKey =" seeOption2Again" />
118
+ <actionGroup ref =" AssertStorefrontProductAttributeOptionVisibleActionGroup" stepKey =" seeOption2Again" >
119
+ <argument name =" productAttributeOption" value =" option2" />
120
+ </actionGroup >
113
121
</test >
114
122
</tests >
You can’t perform that action at this time.
0 commit comments