|
76 | 76 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
77 | 77 | </actionGroup>
|
78 | 78 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
|
| 79 | + <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage3"> |
| 80 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 81 | + </actionGroup> |
| 82 | + <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearance3"> |
| 83 | + <argument name="property" value="PageBuilderRowAppearance_FullBleed"/> |
| 84 | + </actionGroup> |
| 85 | + <actionGroup ref="fillSlideOutPanelFieldMarginsAndPadding" stepKey="fillSlideOutPanelFieldMarginsAndPadding"> |
| 86 | + <argument name="property" value="PageBuilderAdvancedMarginsAndPaddingPropertyDefault"/> |
| 87 | + </actionGroup> |
| 88 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/> |
79 | 89 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection2">
|
80 | 90 | <argument name="contentType" value="PageBuilderBlockContentType"/>
|
81 | 91 | </actionGroup>
|
|
88 | 98 | <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid">
|
89 | 99 | <argument name="block" value="$$createCMSBlock$$"/>
|
90 | 100 | </actionGroup>
|
91 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/> |
| 101 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings4"/> |
92 | 102 | <!-- Validate Stage for CMS Page -->
|
93 | 103 | <actionGroup ref="VerifyAffordanceSizeActionGroup" stepKey="verifyAffordanceSizeActionGroup4"/>
|
94 | 104 | <seeNumberOfElements selector="{{RowOnStage.affordanceCSS}}" userInput="1" stepKey="seeNumberOfAffordance2"/>
|
|
99 | 109 | <argument name="page" value="$$createCMSPage.identifier$$"/>
|
100 | 110 | </actionGroup>
|
101 | 111 | <dontSeeElementInDOM selector="{{RowOnStage.affordanceCSS}}" stepKey="dontSeeAffordanceInDOM"/>
|
| 112 | + <executeJS function="return window.innerWidth;" stepKey="viewportWidth"/> |
| 113 | + <waitForElementVisible selector="{{RowOnStorefront.appearanceContainedCSS}}" stepKey="waitForRowContainedVisible"/> |
| 114 | + <executeJS function="return parseInt(document.querySelector('{{RowOnStorefront.appearanceFullBleedCSS}} {{RowOnStorefront.appearanceContainedCSS}}').getBoundingClientRect().width, 10)" stepKey="actualRowContainedSize"/> |
| 115 | + <assertEquals stepKey="assertRowContainedEqualsExpected"> |
| 116 | + <expectedResult type="variable">actualRowContainedSize</expectedResult> |
| 117 | + <actualResult type="variable">actualRowContainedSize</actualResult> |
| 118 | + </assertEquals> |
| 119 | + <waitForElementVisible selector="{{RowOnStorefront.appearanceFullWidthCSS}}" stepKey="waitForRowFullWidthVisible"/> |
| 120 | + <executeJS function="return parseInt(document.querySelector('{{RowOnStorefront.appearanceFullBleedCSS}} {{RowOnStorefront.appearanceFullWidthCSS}}').getBoundingClientRect().width, 10)" stepKey="actualRowFullWidthSize"/> |
| 121 | + <assertEquals stepKey="assertRowFullWidthEqualsExpected"> |
| 122 | + <expectedResult type="variable">viewportWidth</expectedResult> |
| 123 | + <actualResult type="variable">actualRowFullWidthSize</actualResult> |
| 124 | + </assertEquals> |
| 125 | + <waitForElementVisible selector="{{RowOnStorefront.appearanceFullBleedCSS}}" stepKey="waitForRowFullBleedVisible"/> |
| 126 | + <executeJS function="return parseInt(document.querySelector('{{RowOnStorefront.appearanceFullBleedCSS}} {{RowOnStorefront.appearanceFullBleedCSS}}').getBoundingClientRect().width, 10)" stepKey="actualRowFullBleedSize"/> |
| 127 | + <assertEquals stepKey="assertRowFullBleedEqualsExpected"> |
| 128 | + <expectedResult type="variable">viewportWidth</expectedResult> |
| 129 | + <actualResult type="variable">actualRowFullBleedSize</actualResult> |
| 130 | + </assertEquals> |
102 | 131 | </test>
|
103 | 132 | </tests>
|
0 commit comments