|
2004 | 2004 | <actualResult type="variable">grabIfFrontendAnchorInContentBoolean</actualResult>
|
2005 | 2005 | </assertFalse>
|
2006 | 2006 | </test>
|
| 2007 | + <test name="SlideItemOverflowNotHiddenAfterDuplicatingParent"> |
| 2008 | + <annotations> |
| 2009 | + <features value="PageBuilder"/> |
| 2010 | + <stories value="Slider"/> |
| 2011 | + <title value="SlideItem overflow is not hidden after duplicating parent"/> |
| 2012 | + <description value="Slide Item overflow is not hidden after duplicating parent container."/> |
| 2013 | + <severity value="MAJOR"/> |
| 2014 | + <useCaseId value="PB-50"/> |
| 2015 | + <testCaseId value="PB-351"/> |
| 2016 | + <group value="pagebuilder"/> |
| 2017 | + <group value="pagebuilder-slide"/> |
| 2018 | + <group value="pagebuilder-slideItemCommon"/> |
| 2019 | + </annotations> |
| 2020 | + <before> |
| 2021 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 2022 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 2023 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 2024 | + </before> |
| 2025 | + <after> |
| 2026 | + <actionGroup ref="logout" stepKey="logout"/> |
| 2027 | + </after> |
| 2028 | + <!-- Add Column to Stage --> |
| 2029 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage"> |
| 2030 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 2031 | + </actionGroup> |
| 2032 | + <!-- Add Slider to Column --> |
| 2033 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandMenuSectionElements"> |
| 2034 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2035 | + </actionGroup> |
| 2036 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragSliderToColumn"> |
| 2037 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2038 | + <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
| 2039 | + <argument name="containerTargetIndex" value="1"/> |
| 2040 | + </actionGroup> |
| 2041 | + <!-- Duplicate column 1 --> |
| 2042 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unfocusSlide"/> |
| 2043 | + <actionGroup ref="duplicateContentType" stepKey="duplicateColumn"> |
| 2044 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 2045 | + <argument name="targetIndex" value="1"/> |
| 2046 | + <argument name="contentTypeXCoordinate" value="10"/> |
| 2047 | + <argument name="contentTypeYCoordinate" value="0"/> |
| 2048 | + </actionGroup> |
| 2049 | + <seeNumberOfElements selector="{{ColumnOnBackend.allColumns}}" userInput="3" stepKey="seeDuplicatedColumn"/> |
| 2050 | + <!-- Invoke inline editing of slide --> |
| 2051 | + <actionGroup ref="focusOnInlineTinyMCEEditor" stepKey="focusOnInlineTinyMCEEditor"> |
| 2052 | + <argument name="section" value="SlideOnBackend"/> |
| 2053 | + </actionGroup> |
| 2054 | + <!-- Assert slide overflow is not hidden --> |
| 2055 | + <executeJS function="{{SlideOnBackend.slideOverflowPropertyJS('0')}}" stepKey="slideOverflowProperty"/> |
| 2056 | + <assertEquals stepKey="assertSlideOverflowVisible"> |
| 2057 | + <expectedResult type="string">visible</expectedResult> |
| 2058 | + <actualResult type="variable">$slideOverflowProperty</actualResult> |
| 2059 | + </assertEquals> |
| 2060 | + <actionGroup ref="addVariableToTinyMCEInline" stepKey="verifySlideInsertVariableButtonIsVisible"> |
| 2061 | + <argument name="variable" value="TinyMCEVariableBaseURL"/> |
| 2062 | + </actionGroup> |
| 2063 | + </test> |
2007 | 2064 | </tests>
|
0 commit comments