|
34 | 34 | <actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnCmsList"/>
|
35 | 35 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCmsList"/>
|
36 | 36 | <actionGroup ref="AdminClickAddNewPageOnPagesGridActionGroup" stepKey="clickAddNewPageButton"/>
|
37 |
| - <fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_newDefaultCmsPage.title}}" stepKey="fillPageTitle"/> |
38 |
| - <click selector="{{CmsNewPagePageContentSection.header}}" stepKey="expandContentSection"/> |
39 |
| - <waitForPageLoad stepKey="waitForContentSection"/> |
40 |
| - <click selector="{{CmsWYSIWYGSection.InsertWidgetBtn}}" stepKey="clickInsertWidgetButton"/> |
41 |
| - <waitForPageLoad stepKey="waitForSlideOut"/> |
42 |
| - <selectOption selector="{{WidgetSection.WidgetType}}" userInput="Catalog New Products List" stepKey="selectWidgetType"/> |
43 |
| - <waitForPageLoad stepKey="waitForWidgetOptions"/> |
44 |
| - <selectOption selector="{{WidgetSection.DisplayType}}" userInput="New products" stepKey="selectDisplayType"/> |
45 |
| - <fillField selector="{{WidgetSection.NoOfProductToDisplay}}" userInput="100" stepKey="fillNoOfProductToDisplay"/> |
| 37 | + <actionGroup ref="AdminCmsPageSetTitleActionGroup" stepKey="fillPageTitle"> |
| 38 | + <argument name="newTitle" value="{{_newDefaultCmsPage.title}}"/> |
| 39 | + </actionGroup> |
| 40 | + <actionGroup ref="AdminExpandContentSectionActionGroup" stepKey="expandContentSection"/> |
| 41 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForContentSection"/> |
| 42 | + <actionGroup ref="AdminInsertCatalogNewProductListWidgetForCmsPageContentSectionActionGroup" stepKey="clickInsertWidgetButton"> |
| 43 | + <argument name="displayType" value="New products"/> |
| 44 | + <argument name="numberOfProductsToDisplay" value="100"/> |
| 45 | + </actionGroup> |
| 46 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForSlideOut"/> |
| 47 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectWidgetType"/> |
| 48 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForWidgetOptions"/> |
| 49 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="selectDisplayType"/> |
| 50 | + <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="fillNoOfProductToDisplay"/> |
46 | 51 | <actionGroup ref="AdminClickInsertWidgetActionGroup" stepKey="clickInsertWidget"/>
|
47 |
| - <click selector="{{CmsNewPagePageSeoSection.header}}" stepKey="expandSeoSection"/> |
48 |
| - <fillField selector="{{CmsNewPagePageSeoSection.urlKey}}" userInput="{{_newDefaultCmsPage.identifier}}" stepKey="fillPageUrlKey"/> |
49 |
| - <click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="clickSaveCmsPage"/> |
| 52 | + <actionGroup ref="AdminExpandSeoSectionActionGroup" stepKey="expandSeoSection"/> |
| 53 | + <actionGroup ref="AdminCmsPageSetUrlActionGroup" stepKey="fillPageUrlKey"> |
| 54 | + <argument name="urlKey" value="{{_newDefaultCmsPage.identifier}}"/> |
| 55 | + </actionGroup> |
| 56 | + <actionGroup ref="SaveCmsPageActionGroup" stepKey="clickSaveCmsPage" /> |
50 | 57 | </test>
|
51 | 58 | </tests>
|
0 commit comments