|
178 | 178 | <!--Assert Text placeholder and inline edit-->
|
179 | 179 | <comment userInput="Assert Text placeholder and inline edit" stepKey="comment1"/>
|
180 | 180 | <seeElement selector="{{TextOnStage.textareaPlaceholder('1')}}" stepKey="seeTextareaPlaceholder"/>
|
181 |
| - <!--Check min height of textarea--> |
182 |
| - <comment userInput="Check min height of textarea" stepKey="comment2"/> |
183 |
| - <executeJS function="return jQuery('.inline-wysiwyg-textarea').css('min-height');" stepKey="height"/> |
184 |
| - <assertEquals stepKey="assertMinHeight"> |
185 |
| - <actualResult type="variable">height</actualResult> |
186 |
| - <expectedResult type="string">{{PageBuilderTextProperty.minHeight}}</expectedResult> |
187 |
| - </assertEquals> |
188 | 181 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
189 | 182 | <!--Verify empty content type on storefront-->
|
190 | 183 | <comment userInput="Verify empty content type on storefront" stepKey="commentVerifyEmptyBlock"/>
|
191 | 184 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
192 | 185 | <waitForPageLoad stepKey="waitForPageLoad" />
|
193 | 186 | <seeElementInDOM selector="{{TextOnStorefront.empty('1')}}" stepKey="seeEmptyTextContentType"/>
|
194 | 187 | <dontSeeElement selector="{{TextOnStorefront.empty('1')}}" stepKey="dontSeeEmptyTextContentTypeOnStorefront"/>
|
195 |
| - <!--Check min height of textarea on Storefront--> |
196 |
| - <comment userInput="Check min height of textarea on Storefront" stepKey="comment3"/> |
197 | 188 | <seeElementInDOM selector="{{TextOnStorefront.noCssClasses('1')}}" stepKey="dontSeeCSSClassOnEmptyTextarea"/>
|
198 | 189 | </test>
|
199 | 190 | <test name="TextVerifyTextAreaOnTextContentType">
|
|
2640 | 2631 | </actionGroup>
|
2641 | 2632 | <!--Input text into stage-->
|
2642 | 2633 | <comment userInput="Input text into stage" stepKey="commentInputTextIntoStage"/>
|
2643 |
| - <actionGroup ref="inlineEditTextWYSIWYGFromStage" stepKey="inlineEdit"> |
| 2634 | + <actionGroup ref="inlineEditWYSIWYGFromStage" stepKey="inlineEdit"> |
| 2635 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
2644 | 2636 | <argument name="content" value="{{PageBuilderTextProperty.value}}"/>
|
2645 | 2637 | </actionGroup>
|
2646 | 2638 | <executeJS function="return document.evaluate("{{TextOnStage.base('1'))}}", document.body).iterateNext().offsetHeight;" stepKey="getTextOnStageHeight"/>
|
|
0 commit comments