|
1837 | 1837 | <features value="PageBuilder"/>
|
1838 | 1838 | <stories value="Row"/>
|
1839 | 1839 | <title value="Row - Minimum Height Obeyed when Parallax is enabled"/>
|
1840 |
| - <description value="As a Content Manager I want minimum height of parallax-enabled row to reflect the same value configured by user"/> |
| 1840 | + <description value="As a Content Manager I want minimum height of parallax-enabled row to reflect the same value configured by me"/> |
1841 | 1841 | <severity value="CRITICAL"/>
|
1842 | 1842 | <useCaseId value="MC-4128"/>
|
1843 | 1843 | <testCaseId value="MC-4304"/>
|
|
1859 | 1859 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
|
1860 | 1860 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
1861 | 1861 | </actionGroup>
|
1862 |
| - <actionGroup ref="clickSlideOutPanelFieldGeneral" stepKey="enterParallaxEnabledProperty"> |
1863 |
| - <argument name="property" value="PageBuilderRowParallax_Default"/> |
| 1862 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="enterParallaxEnabledProperty"> |
| 1863 | + <argument name="property" value="PageBuilderRowParallax_Enabled"/> |
1864 | 1864 | </actionGroup>
|
1865 | 1865 | <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinimumHeightProperty">
|
1866 |
| - <argument name="property" value="PageBuilderRowMinimumHeightProperty"/> |
| 1866 | + <argument name="property" value="PageBuilderMinHeightProperty_300"/> |
1867 | 1867 | </actionGroup>
|
1868 | 1868 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/>
|
1869 |
| - <executeJS function="return parseInt(document.evaluate("{{RowOnStage.base('1')}}", document.body).iterateNext().style.minHeight, 10)" stepKey="computedHeight" /> |
| 1869 | + <!-- Get value of assigned min height on element --> |
| 1870 | + <executeJS function="return parseInt(document.evaluate("{{RowOnStage.base('1')}}", document.body).iterateNext().style.minHeight, 10)" stepKey="assignedHeight" /> |
1870 | 1871 | <assertEquals stepKey="assertEqualToEnteredValue">
|
1871 |
| - <expectedResult type="string">{{PageBuilderRowMinimumHeightProperty.value}}</expectedResult> |
1872 |
| - <actualResult type="variable">$computedHeight</actualResult> |
| 1872 | + <expectedResult type="string">{{PageBuilderMinHeightProperty_300.value}}</expectedResult> |
| 1873 | + <actualResult type="variable">$assignedHeight</actualResult> |
1873 | 1874 | </assertEquals>
|
1874 | 1875 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage2">
|
1875 | 1876 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
1876 | 1877 | </actionGroup>
|
1877 | 1878 | <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinimumHeightProperty2">
|
1878 |
| - <argument name="property" value="PageBuilderRowMinimumHeightProperty_2"/> |
| 1879 | + <argument name="property" value="PageBuilderMinHeightProperty_500"/> |
1879 | 1880 | </actionGroup>
|
1880 | 1881 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings4"/>
|
1881 |
| - <executeJS function="return parseInt(document.evaluate("{{RowOnStage.base('1')}}", document.body).iterateNext().style.minHeight, 10)" stepKey="computedHeight2" /> |
| 1882 | + <!-- Get value of assigned min height on element --> |
| 1883 | + <executeJS function="return parseInt(document.evaluate("{{RowOnStage.base('1')}}", document.body).iterateNext().style.minHeight, 10)" stepKey="assignedHeight2" /> |
1882 | 1884 | <assertEquals stepKey="assertEqualToEnteredValue2">
|
1883 |
| - <expectedResult type="string">{{PageBuilderRowMinimumHeightProperty_2.value}}</expectedResult> |
1884 |
| - <actualResult type="variable">$computedHeight2</actualResult> |
| 1885 | + <expectedResult type="string">{{PageBuilderMinHeightProperty_500.value}}</expectedResult> |
| 1886 | + <actualResult type="variable">$assignedHeight2</actualResult> |
1885 | 1887 | </assertEquals>
|
1886 | 1888 | </test>
|
1887 | 1889 | </tests>
|
0 commit comments