|
124 | 124 | <argument name="contentTypeNumber" value="1"/>
|
125 | 125 | </actionGroup>
|
126 | 126 | <actionGroup ref="confirmRemovalModal" stepKey="confirmHTMLCodeRemoval"/>
|
| 127 | + <!-- Remove Text Content Type --> |
127 | 128 | <actionGroup ref="removeContentTypeFromStageByIndex" stepKey="removeTextContentType">
|
128 | 129 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
129 | 130 | <argument name="contentTypeNumber" value="1"/>
|
130 | 131 | </actionGroup>
|
131 | 132 | <actionGroup ref="confirmRemovalModal" stepKey="confirmTextRemoval"/>
|
132 |
| - <!-- Verify TinyMCE4 toolbar in 9/12 column --> |
| 133 | + <!-- Create 9/12 column --> |
133 | 134 | <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage">
|
134 | 135 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
135 | 136 | </actionGroup>
|
|
141 | 142 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
142 | 143 | <argument name="contentTypeNumber" value="1"/>
|
143 | 144 | </actionGroup>
|
| 145 | + <!-- Assert toolbar did not overflow in 9/12 column --> |
144 | 146 | <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection2">
|
145 | 147 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
146 | 148 | </actionGroup>
|
147 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragTextContentTypeIntoColumn"> |
| 149 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragTextContentTypeIntoColumn"> |
148 | 150 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
149 | 151 | <argument name="containerTargetType" value="PageBuilderColumnContentType"/>
|
| 152 | + <argument name="containerTargetIndex" value="1"/> |
| 153 | + <argument name="contentTypeIndex" value="1"/> |
150 | 154 | </actionGroup>
|
151 |
| - <clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusAgainOnEditorArea"/> |
152 |
| - <actionGroup ref="VerifyTinyMCEActionGroup" stepKey="verifyTinyMCE4InColumnContentType"/> |
153 |
| - <actionGroup ref="VerifyMagentoEntityActionGroup" stepKey="verifyMagentoEntitiesInColumnContentType"/> |
154 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.undo}}" stepKey="seeUndoInColumnContentType"/> |
155 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.redo}}" stepKey="seeRedoInColumnContentType"/> |
156 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.fontSize}}" stepKey="seeFontsizeInColumnContentType"/> |
157 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.lineHeight}}" stepKey="seeLineHeightInColumnContentType"/> |
158 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.textColor}}" stepKey="seeTextColorInColumnContentType"/> |
159 |
| - <seeElement selector="{{WYSIWYGOnPageBuilderInline.backgroundColor}}" stepKey="seeBackgroundColorInColumnContentType"/> |
| 155 | + <actionGroup ref="focusOnInlineTinyMCEEditor" stepKey="focusOnInlineTinyMCEEditor"> |
| 156 | + <argument name="section" value="TextOnStage"/> |
| 157 | + </actionGroup> |
| 158 | + <actionGroup ref="AdminVerifyTinyMCEToolbarButtonsActionGroup" stepKey="verifyTinyMCE4InColumnContentType"/> |
160 | 159 | </test>
|
161 | 160 | </tests>
|
0 commit comments