|
1974 | 1974 | </actionGroup>
|
1975 | 1975 | <comment userInput="---merging to remove step---" stepKey="scrollToProductDescription"/>
|
1976 | 1976 | </test>
|
| 1977 | + <test name="BlockVerifyCanEditContentTypesFromOnHoverOptionMenus" extends="PageBuilderProductVerifyCanEditContentTypesFromOnHoverOptionMenus"> |
| 1978 | + <annotations> |
| 1979 | + <features value="PageBuilder"/> |
| 1980 | + <stories value="CMS Block"/> |
| 1981 | + <title value="Verify that user can move content types from on-hover option menus in CMS Block"/> |
| 1982 | + <description value="This test is intended to ensure that users can move content types from the on-hover option menus within the PageBuilder stage for CMS Block."/> |
| 1983 | + <severity value="CRITICAL"/> |
| 1984 | + <useCaseId value="MC-3328"/> |
| 1985 | + <testCaseId value="MC-13751"/> |
| 1986 | + <group value="pagebuilder"/> |
| 1987 | + <group value="pagebuilder-block"/> |
| 1988 | + <group value="pagebuilder-row"/> |
| 1989 | + <group value="pagebuilder-edit"/> |
| 1990 | + <group value="pagebuilder-cms-block"/> |
| 1991 | + </annotations> |
| 1992 | + <before> |
| 1993 | + <comment userInput="---merging to remove step---" stepKey="createPreReqCategory"/> |
| 1994 | + <comment userInput="---merging to remove step---" stepKey="createProduct"/> |
| 1995 | + <createData entity="_defaultBlock" stepKey="createPreReqBlock" after="loginAsAdmin"/> |
| 1996 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedProductEditPage"> |
| 1997 | + <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
| 1998 | + </actionGroup> |
| 1999 | + <comment userInput="---merging to remove step---" stepKey="expandAdminProductSection"/> |
| 2000 | + <comment userInput="---merging to remove step---" stepKey="openPageBuilderForDescription"/> |
| 2001 | + </before> |
| 2002 | + <after> |
| 2003 | + <deleteData createDataKey="createPreReqBlock" stepKey="deleteCreatedProduct"/> |
| 2004 | + <comment userInput="---merging to remove step---" stepKey="deleteCreatedCategory"/> |
| 2005 | + <comment userInput="---merging to remove step---" stepKey="NavigateToAndResetProductGridToDefaultView"/> |
| 2006 | + </after> |
| 2007 | + <actionGroup ref="removeContentTypeFromStage" stepKey="removeContentTypeFromStage" after="commentEditRow"> |
| 2008 | + <argument name="contentType" value="PageBuilderHtmlContentType"/> |
| 2009 | + </actionGroup> |
| 2010 | + <comment userInput="---merging to remove step---" stepKey="exitPageBuilderFullScreen"/> |
| 2011 | + <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveProduct"/> |
| 2012 | + <comment userInput="---merging to remove step---" stepKey="expandAdminProductSection"/> |
| 2013 | + <comment userInput="---merging to remove step---" stepKey="openPageBuilderForDescription"/> |
| 2014 | + <!-- Go to CMS Page and choose Block --> |
| 2015 | + <comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage" after="seeBackgroundColorOnEditPanel"/> |
| 2016 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder" after="commentGoToCMSPage"/> |
| 2017 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage" after="navigateToAPageWithPageBuilder"/> |
| 2018 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle" after="switchToPageBuilderStage"> |
| 2019 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2020 | + </actionGroup> |
| 2021 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupAddContent" after="enterPageTitle"> |
| 2022 | + <argument name="group" value="PageBuilderBlockContentType"/> |
| 2023 | + </actionGroup> |
| 2024 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage" after="expandGroupAddContent"> |
| 2025 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2026 | + </actionGroup> |
| 2027 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDrop" after="dragBlockIntoStage"> |
| 2028 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2029 | + </actionGroup> |
| 2030 | + <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid" after="openEditAfterDrop"> |
| 2031 | + <argument name="block" value="$$createPreReqBlock$$"/> |
| 2032 | + </actionGroup> |
| 2033 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings" after="searchBlockInGrid"/> |
| 2034 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage" after="saveEditPanelSettings"/> |
| 2035 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterSave" after="saveAndContinueEditCmsPage"/> |
| 2036 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToProductStorefront"> |
| 2037 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2038 | + </actionGroup> |
| 2039 | + <comment userInput="---merging to remove step---" stepKey="scrollToProductDescription"/> |
| 2040 | + <seeElement selector="{{RowOnStorefront.backgroundColor('2', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="seeBackgroundColorRowStorefront"/> |
| 2041 | + </test> |
1977 | 2042 | </tests>
|
0 commit comments