|
15 | 15 | <click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductToggle"/>
|
16 | 16 | <waitForElementVisible selector="{{AdminProductGridActionSection.addTypeProduct(product.type_id)}}" stepKey="waitForAddProductDropdown" time="30"/>
|
17 | 17 | <click selector="{{AdminProductGridActionSection.addTypeProduct(product.type_id)}}" stepKey="clickAddProductType"/>
|
18 |
| - <waitForPageLoad stepKey="waitForCreateProductPageLoad"/> |
| 18 | + <waitForPageLoad time="30" stepKey="waitForCreateProductPageLoad"/> |
19 | 19 | <seeInCurrentUrl url="{{AdminProductCreatePage.url(AddToDefaultSet.attributeSetId, product.type_id)}}" stepKey="seeNewProductUrl"/>
|
20 | 20 | <see selector="{{AdminHeaderSection.pageTitle}}" userInput="New Product" stepKey="seeNewProductTitle"/>
|
21 | 21 | </actionGroup>
|
|
180 | 180 | <arguments>
|
181 | 181 | <argument name="website" type="string"/>
|
182 | 182 | </arguments>
|
183 |
| - <scrollTo selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="ScrollToWebsites"/> |
184 |
| - <click selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="ClickTpOpenProductInWebsite"/> |
| 183 | + <scrollTo selector="{{ProductInWebsitesSection.sectionHeader}}" stepKey="scrollToWebsites"/> |
| 184 | + <conditionalClick selector="{{ProductInWebsitesSection.sectionHeader}}" dependentSelector="{{ProductInWebsitesSection.website(website)}}" visible="false" stepKey="clickToOpenProductInWebsite"/> |
185 | 185 | <waitForPageLoad stepKey="waitForPageOpened"/>
|
186 |
| - <click selector="{{ProductInWebsitesSection.website(website)}}" stepKey="SelectWebsite"/> |
| 186 | + <click selector="{{ProductInWebsitesSection.website(website)}}" stepKey="selectWebsite"/> |
187 | 187 | <click selector="{{AdminProductFormAdvancedPricingSection.save}}" stepKey="clickSaveProduct"/>
|
188 |
| - <waitForPageLoad time='60' stepKey="waitForPageOpened1"/> |
| 188 | + <waitForPageLoad time='60' stepKey="waitForProducrSaved"/> |
| 189 | + <waitForElementVisible selector="{{AdminMessagesSection.success}}" stepKey="waitForSaveSuccessMessage"/> |
| 190 | + <see selector="{{AdminMessagesSection.success}}" userInput="You saved the product." stepKey="seeSaveSuccessMessage"/> |
189 | 191 | </actionGroup>
|
190 | 192 |
|
191 | 193 | <actionGroup name="ProductSetAdvancedPricing">
|
|
0 commit comments