|
1847 | 1847 | <argument name="containerTargetIndex" value="1"/>
|
1848 | 1848 | </actionGroup>
|
1849 | 1849 | </test>
|
| 1850 | + <test name="BlockAddAndEditRowColumnSlide" extends="PageBuilderProductAddAndEditRowColumnSlide"> |
| 1851 | + <annotations> |
| 1852 | + <features value="PageBuilder"/> |
| 1853 | + <stories value="CMS Block"/> |
| 1854 | + <title value="Add and Edit Row, Column, and Slider to PageBuilder in CMS Block"/> |
| 1855 | + <description value="This test is intended to ensure that basic adding and editing of multiple content types work correctly in the CMS Block area of PageBuilder."/> |
| 1856 | + <severity value="CRITICAL"/> |
| 1857 | + <useCaseId value="MC-3328"/> |
| 1858 | + <testCaseId value="MC-13737"/> |
| 1859 | + <group value="pagebuilder"/> |
| 1860 | + <group value="pagebuilder-block"/> |
| 1861 | + <group value="pagebuilder-row"/> |
| 1862 | + <group value="pagebuilder-column"/> |
| 1863 | + <group value="pagebuilder-slide"/> |
| 1864 | + <group value="pagebuilder-cms-block"/> |
| 1865 | + </annotations> |
| 1866 | + <before> |
| 1867 | + <comment userInput="---merging to remove step---" stepKey="createPreReqCategory"/> |
| 1868 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 1869 | + <createData entity="_defaultBlock" stepKey="createPreReqBlock" after="loginAsAdmin"/> |
| 1870 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedProductEditPage"> |
| 1871 | + <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
| 1872 | + </actionGroup> |
| 1873 | + <comment userInput="---merging to remove step---" stepKey="expandAdminProductSection"/> |
| 1874 | + <comment userInput="---merging to remove step---" stepKey="openPageBuilderForDescription"/> |
| 1875 | + </before> |
| 1876 | + <after> |
| 1877 | + <deleteData createDataKey="createPreReqBlock" stepKey="deleteCreatedProduct"/> |
| 1878 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedCategory"/> |
| 1879 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 1880 | + </after> |
| 1881 | + <comment userInput="---merging to remove step---" stepKey="exitPageBuilderFullScreen"/> |
| 1882 | + <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveProduct"/> |
| 1883 | + <comment userInput="---merging to remove step---" stepKey="expandAdminProductSection"/> |
| 1884 | + <comment userInput="---merging to remove step---" stepKey="openPageBuilderForDescription"/> |
| 1885 | + <!-- Go to CMS Page and choose Block --> |
| 1886 | + <comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage" after="seeBackgroundColorSlide2StageAfterSave"/> |
| 1887 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder" after="commentGoToCMSPage"/> |
| 1888 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage" after="navigateToAPageWithPageBuilder"/> |
| 1889 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle" after="switchToPageBuilderStage"> |
| 1890 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 1891 | + </actionGroup> |
| 1892 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupAddContent" after="enterPageTitle"> |
| 1893 | + <argument name="group" value="PageBuilderBlockContentType"/> |
| 1894 | + </actionGroup> |
| 1895 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage" after="expandGroupAddContent"> |
| 1896 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 1897 | + </actionGroup> |
| 1898 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDrop" after="dragBlockIntoStage"> |
| 1899 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 1900 | + </actionGroup> |
| 1901 | + <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid" after="openEditAfterDrop"> |
| 1902 | + <argument name="block" value="$$createPreReqBlock$$"/> |
| 1903 | + </actionGroup> |
| 1904 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings" after="searchBlockInGrid"/> |
| 1905 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage" after="saveEditPanelSettings"/> |
| 1906 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterSave" after="saveAndContinueEditCmsPage"/> |
| 1907 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToProductStorefront"> |
| 1908 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 1909 | + </actionGroup> |
| 1910 | + <comment userInput="---merging to remove step---" stepKey="scrollToProductDescription"/> |
| 1911 | + <seeNumberOfElements selector="{{RowOnStorefront.allRows}}" userInput="3" stepKey="see2RowsStorefront"/> |
| 1912 | + <seeElement selector="{{RowOnStorefront.backgroundColor('3', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="seeBackgroundColorRowStorefront"/> |
| 1913 | + </test> |
1850 | 1914 | </tests>
|
0 commit comments