|
2393 | 2393 | <actualResult type="variable">columnOneTextHeight</actualResult>
|
2394 | 2394 | </assertGreaterThan>
|
2395 | 2395 | </test>
|
| 2396 | + <test name="TextContentCanWordWrap" extends="BannerPosterContentCanWordWrap"> |
| 2397 | + <annotations> |
| 2398 | + <features value="PageBuilder"/> |
| 2399 | + <stories value="Text"/> |
| 2400 | + <title value="Text content can wrap words to multiple lines"/> |
| 2401 | + <description value="A user can see text content word wrap to multiple lines"/> |
| 2402 | + <severity value="CRITICAL"/> |
| 2403 | + <useCaseId value="MC-4965"/> |
| 2404 | + <testCaseId value="MC-5634"/> |
| 2405 | + <group value="pagebuilder"/> |
| 2406 | + <group value="pagebuilder-text"/> |
| 2407 | + </annotations> |
| 2408 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 2409 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2410 | + </actionGroup> |
| 2411 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements"> |
| 2412 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 2413 | + </actionGroup> |
| 2414 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragIntoStage"> |
| 2415 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2416 | + <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
| 2417 | + </actionGroup> |
| 2418 | + <fillField selector="{{TextOnStage.wysiwyg('1')}}" userInput="{{PageBuilderMessageProperty_WordBreak.value}}" after="dragIntoStage" stepKey="fillTextToTextarea"/> |
| 2419 | + <comment userInput="keyForRemoval" stepKey="inlineEdit"/> |
| 2420 | + <comment userInput="keyForRemoval" stepKey="openEditMenuOnStage"/> |
| 2421 | + <comment userInput="keyForRemoval" stepKey="enterAppearanceProperty"/> |
| 2422 | + <comment userInput="keyForRemoval" stepKey="saveEditPanelSettings"/> |
| 2423 | + <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('2')}}" x="$guideWidth" stepKey="resizeColumn"/> |
| 2424 | + <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 2425 | + <argument name="page" value="TextOnStage"/> |
| 2426 | + <argument name="height" value="80"/> |
| 2427 | + </actionGroup> |
| 2428 | + <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 2429 | + <argument name="page" value="TextOnStage"/> |
| 2430 | + <argument name="height" value="110"/> |
| 2431 | + </actionGroup> |
| 2432 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 2433 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2434 | + </actionGroup> |
| 2435 | + <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 2436 | + <argument name="page" value="TextOnStorefront"/> |
| 2437 | + <argument name="height" value="80"/> |
| 2438 | + </actionGroup> |
| 2439 | + </test> |
2396 | 2440 | <test name="TextInlineWYSIWYGWidgetAndVariableStyle">
|
2397 | 2441 | <annotations>
|
2398 | 2442 | <features value="PageBuilder"/>
|
|
0 commit comments