|
977 | 977 | <stories value="Tabs"/>
|
978 | 978 | <title value="Tabs Content - Add Heading to Tabs container and verify minimum height on Admin and Storefront"/>
|
979 | 979 | <description value="As a Content Manager I want tab to be a container so that I can add any content inside the Tab, not only text"/>
|
980 |
| - <severity value="CRITICAL"/> |
981 |
| - <useCaseId value="MC-964"/> |
| 980 | + <severity value="MAJOR"/> |
| 981 | + <useCaseId value="MC-4112"/> |
982 | 982 | <testCaseId value="MC-4209"/>
|
983 | 983 | <group value="pagebuilder"/>
|
984 | 984 | <group value="pagebuilder-tabs-content"/>
|
|
1018 | 1018 | <actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading">
|
1019 | 1019 | <argument name="index" value="1"/>
|
1020 | 1020 | </actionGroup>
|
| 1021 | + <!-- Verify Tab height on stage --> |
| 1022 | + <comment userInput="Verify Tab height on stage" stepKey="verifyTabOnStage"/> |
1021 | 1023 | <executeJS function="return {{TabOnStage.tabContentHeightJS('0')}}" stepKey="tabContentHeightStage"/>
|
| 1024 | + <executeJS function="return {{PageBuilderTabMinimumHeightDefaultProperty.value}} + {{PageBuilderPaddingProperty40.paddingTop}} + {{PageBuilderPaddingProperty40.paddingBottom}}" stepKey="tabExpectedHeight"/> |
| 1025 | + <assertEquals stepKey="assertTabHeightStage"> |
| 1026 | + <expectedResult type="variable">tabExpectedHeight</expectedResult> |
| 1027 | + <actualResult type="variable">tabContentHeightStage</actualResult> |
| 1028 | + </assertEquals> |
1022 | 1029 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
1023 | 1030 | <!-- Verify Tab height on storefront -->
|
1024 | 1031 | <comment userInput="Verify Tab height on storefront" stepKey="viewTabOnStorefront"/>
|
1025 |
| - <amOnPage url="tabs{{PageBuilderPageTitle.pageName}}" stepKey="amOnPageBuilderPage"/> |
1026 |
| - <waitForPageLoad stepKey="waitForStoreFrontPageLoad" time="30"/> |
| 1032 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 1033 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 1034 | + </actionGroup> |
1027 | 1035 | <waitForElementVisible selector="{{TabOnStorefront.tabContent('1')}}" stepKey="waitForTabContentVisible"/>
|
1028 | 1036 | <executeJS function="return {{TabsOnFrontend.tabsContentHeightJS('0')}}" stepKey="tabContentHeightStorefront"/>
|
1029 | 1037 | <assertEquals stepKey="assertTabHeightStorefrontEqualsStage">
|
|
0 commit comments