|
140 | 140 | <waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSlider"/>
|
141 | 141 | <click selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="enableProductForSecondStoreView"/>
|
142 | 142 | <seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProductIsEnabled"/>
|
143 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="enabledConfigProductSecondStore"/> |
| 143 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="enabledConfigProductSecondStore"/> |
144 | 144 |
|
145 | 145 | <!--go to admin and open product edit page to enable child product for second store view -->
|
146 | 146 | <amOnPage url="{{AdminProductEditPage.url($$createConfigProduct.id$$)}}" stepKey="goToProductEditPage2"/>
|
|
154 | 154 | <click selector="{{AdminProductFormConfigurationsSection.enableProductBtn}}" stepKey="clickEnableChildProduct1"/>
|
155 | 155 | <click selector="{{AdminProductFormConfigurationsSection.actionsBtn('2')}}" stepKey="clickToExpandActionsForSecondVariation2"/>
|
156 | 156 | <click selector="{{AdminProductFormConfigurationsSection.enableProductBtn}}" stepKey="clickEnableChildProduct2"/>
|
157 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="saveAll"/> |
| 157 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="saveAll"/> |
158 | 158 |
|
159 | 159 | <!-- assert second store view storefront category list page -->
|
160 | 160 | <amOnPage url="/second_store_view/" stepKey="amOnsecondStoreFront1"/>
|
|
168 | 168 | <waitForPageLoad stepKey="waitChild1EditPageToLoad"/>
|
169 | 169 | <click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="openProduct1InWebsitesSection"/>
|
170 | 170 | <click selector="{{ProductInWebsitesSection.website('Second Website')}}" stepKey="selectSecondWebsite1"/>
|
171 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="saveUpdatedChild1Again"/> |
| 171 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="saveUpdatedChild1Again"/> |
172 | 172 |
|
173 | 173 | <!--go to admin again and open child product1 and enable for second store view-->
|
174 | 174 | <amOnPage url="{{AdminProductEditPage.url($$createConfigChildProduct1.id$$)}}" stepKey="goToProduct1EditPage"/>
|
|
180 | 180 | <see userInput="Second Store View" selector="{{AdminMainActionsSection.storeSwitcher}}" stepKey="seeNewStoreViewNameP1"/>
|
181 | 181 | <waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSliderP1"/>
|
182 | 182 | <seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProduct1IsEnabled"/>
|
183 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="save2UpdatedChild1"/> |
| 183 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="save2UpdatedChild1"/> |
184 | 184 |
|
185 | 185 | <!--go to admin and open child product2 edit page and assign it to the second website -->
|
186 | 186 | <amOnPage url="{{AdminProductEditPage.url($$createConfigChildProduct2.id$$)}}" stepKey="goToProduct2EditPage"/>
|
187 | 187 | <waitForPageLoad stepKey="waitChild2EditPageToLoad"/>
|
188 | 188 | <click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="openProduct2InWebsitesSection"/>
|
189 | 189 | <click selector="{{ProductInWebsitesSection.website('Second Website')}}" stepKey="selectSecondWebsite2"/>
|
190 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="saveUpdatedChild2"/> |
| 190 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="saveUpdatedChild2"/> |
191 | 191 |
|
192 | 192 | <!--go to admin again and open child product2 and enable for second store view-->
|
193 | 193 | <amOnPage url="{{AdminProductEditPage.url($$createConfigChildProduct2.id$$)}}" stepKey="goToProduct2EditPage2"/>
|
|
199 | 199 | <see userInput="Second Store View" selector="{{AdminMainActionsSection.storeSwitcher}}" stepKey="seeNewStoreViewNameP2"/>
|
200 | 200 | <waitForElementVisible selector="{{AdminProductFormSection.enableProductLabel}}" stepKey="waitForProductEnableSliderP2"/>
|
201 | 201 | <seeCheckboxIsChecked selector="{{AdminProductFormSection.productStatus}}" stepKey="seeThatProduct2IsEnabled"/>
|
202 |
| - <actionGroup ref="AdminFormSaveAndClose" stepKey="save2UpdatedChild2"/> |
| 202 | + <actionGroup ref="AdminFormSaveAndCloseActionGroup" stepKey="save2UpdatedChild2"/> |
203 | 203 |
|
204 | 204 | <!-- assert storefront category list page -->
|
205 | 205 | <amOnPage url="/second_store_view/" stepKey="amOnsecondStoreFront"/>
|
|
0 commit comments