|
114 | 114 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage2"/>
|
115 | 115 | <waitForPageLoad stepKey="waitForPageLoad3"/>
|
116 | 116 | <seeElement selector="{{TextOnStorefront.textInImportantStyle(PageBuilderTextProperty.value)}}" stepKey="seeTextInImportantStyleOnStorefront"/>
|
| 117 | + <!-- Remove HTML Code Content Type --> |
| 118 | + <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateBackToCreatedCMSPage"> |
| 119 | + <argument name="CMSPage" value="$$createCMSPage$$"/> |
| 120 | + </actionGroup> |
| 121 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage3"/> |
| 122 | + <actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeHTMLCodeContentType"> |
| 123 | + <argument name="contentType" value="PageBuilderHtmlContentType"/> |
| 124 | + <argument name="contentTypeNumber" value="1"/> |
| 125 | + </actionGroup> |
| 126 | + <actionGroup ref="confirmRemovalModal" stepKey="confirmHTMLCodeRemoval"/> |
| 127 | + <actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeTextContentType"> |
| 128 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 129 | + <argument name="contentTypeNumber" value="1"/> |
| 130 | + </actionGroup> |
| 131 | + <actionGroup ref="confirmRemovalModal" stepKey="confirmTextRemoval"/> |
| 132 | + <!-- Verify TinyMCE4 toolbar in 11/12 column --> |
| 133 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage"> |
| 134 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 135 | + </actionGroup> |
| 136 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection2"> |
| 137 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 138 | + </actionGroup> |
| 139 | + <comment userInput="Change Columns To 11:12 Ratio" stepKey="ChangeColumnToDifferentRatio"/> |
| 140 | + <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('11')}}').clientWidth" stepKey="guideWidth"/> |
| 141 | + <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('11')}}" x="$guideWidth" stepKey="dragColumnOneToEleven"/> |
| 142 | + <waitForPageLoad stepKey="waitForDragAndDrop"/> |
| 143 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragTextContentTypeIntoColumn"> |
| 144 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 145 | + <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
| 146 | + </actionGroup> |
| 147 | + <clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusAgainOnEditorArea"/> |
| 148 | + <actionGroup ref="VerifyTinyMCEActionGroup" stepKey="verifyTinyMCE4InColumnContentType"/> |
| 149 | + <actionGroup ref="VerifyMagentoEntityActionGroup" stepKey="verifyMagentoEntitiesInColumnContentType"/> |
| 150 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.undo}}" stepKey="seeUndoInColumnContentType"/> |
| 151 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.redo}}" stepKey="seeRedoInColumnContentType"/> |
| 152 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.fontSize}}" stepKey="seeFontsizeInColumnContentType"/> |
| 153 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.lineHeight}}" stepKey="seeLineHeightInColumnContentType"/> |
| 154 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.textColor}}" stepKey="seeTextColorInColumnContentType"/> |
| 155 | + <seeElement selector="{{WYSIWYGOnPageBuilderInline.backgroundColor}}" stepKey="seeBackgroundColorInColumnContentType"/> |
117 | 156 | </test>
|
118 | 157 | </tests>
|
0 commit comments